Random Number Guesser is a fun and simple Python-based game where the computer randomly selects a number between 1 and 10, and the player has to guess it. The game provides feedback after each guess, telling the player whether their guess is too high or too low, until they correctly guess the number. Once the correct guess is made, the player is given an option to play the game again.
- Random number selection between 1 and 10
- Tells the user if their guess is too high or too low
- Keeps asking until the correct guess is made
- Asks the player if they want to play again after finishing
- Handles invalid inputs smoothly (like typing words instead of numbers)
- The game starts by asking the player to guess a number between 1 and 10.
- The player makes a guess, and the game tells them if the guess is too high, too low, or correct.
- If the guess is incorrect, the player can continue guessing until they get it right.
- After the player guesses correctly, the game will ask if they want to play again. If they answer with "yes" or "y", the game restarts. If they answer with "no" or "n", the game ends.
- Python 3.x