Answer the question
In order to leave comments, you need to log in
How to create multiple number counters in arrays?
You need to create a score counter for three players. I decided to calculate them by adding the scores in an array ( [1, 3, 1, 2] like this ). I looked on the Internet for a counter of numbers in an array and started using it, but the problem is that there are 3 counters in the whole code, and only the last array is calculated. Tell me how you can fix this problem, or maybe there is an alternative for this task.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question