Dec-16-2019, 02:28 PM
that is example that you should keep information out if your variable names.
In this case you need to create a data structure, e.g. dict to hold your players.
Note that class name is better to be singular
There are many other things that can be improved, but that is to answer your specific question
In this case you need to create a data structure, e.g. dict to hold your players.
Note that class name is better to be singular
Player
, not Players
, i.e. it represent a single playerThere are many other things that can be improved, but that is to answer your specific question
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs