im at a standstill
so im a bit stumped on how to go about this. I have 9 people total and at max 6 of them are in a single game. this script it made to take each individual player and update their stats. how would i go about making it so it would go through the players selected only and repeat for each player that was selected at the start of the program.
As far as i understand, you can create a class for holding statistics of individual users. Each class can have an id or name associated with it so that you can know whose statistics it is. You can create 9 objects from this class at the beginning. You can keep these 9 objects inside a vector. And whenever you need to update 6 of these you can iterate over the vector and update only the ones who needs an update based on the names/ids of those people.