Guess the number

This is a game where the player/user tries to guess a randomly generated number from 1 to 100 inclusive.

You can choose to display a message after the first guess, or display nothing and prompt for the next guess.

After the first guess, do the following after each guess

When the player guesses the number, then say that they have guessed the number.


Enter a guess from 1 to 100: