29.10.2019, 12:32
You didn't describe how the random number is being picked. Keep the number range small if you want players to guess it every time. Otherwise, pick a random one from all the numbers given by all participants. If you do it that way there will be always a chance to win for everyone.
Using foreach iterators may ease the job.
Using foreach iterators may ease the job.