From: Coh3n
Max level has been implanted for a looooong time, and it works find in the form, I just checked.
RandomNextPlayer is easy enough, but I don't think CurrentPlayer := Random(HowManyPlayers) is good because I'm sure people still want to set the player to start with (I do this a lot). But again, if an option is added for RandomNextPlayer, the same can be done for that (or perhaps use the same option).
It is not a good method AT ALL.
For example you would want all your players to play for let say 4 hours.
Take 3 players.
Player 1 is done with its 4 hours.
Random(HowManyPlayers) will result in either 0,1 or 2. So the player who has just had its 4 hours, will stillhave the chance to go again. When repeated a lot, it might happen that 1 player will play way more than others.
This is not what we want.
In order for this method to work, we will need to create an array with in it the integers 0,1,2……Howmanyplayers.
Everytime it will pick a random number from that array, start that player and withdraw the integer which is the number of the player that is botting now from the array. That way we will no longer have this problem.
When the array is empty, it will restore all the original integers 0,1,2…..HowManyplayers.