- The computer generates a random number.
- The player enters guesses to find the number.
- If the guess is too high, the game responds with "Too high!"
- If the guess is too low, the game responds with "Too low!"
- The player wins when they guess the correct number.