game where player has to guess a random number between 1 and n