Welcome to the Guessing Game! This is a simple game where the computer generates a random number between 1 and 100, and the player attempts to guess it. The game provides feedback if the guess is too high or too low and continues until the player correctly guesses the number. It also displays the number of attempts it took to win the game.
- Generates a random number between 1 and 100.
- Prompts the user to guess the number.
- Provides feedback if the guess is too high or too low.
- Displays the number of attempts taken to guess the correct number.
- Input validation to ensure only valid integers are accepted.