A Number Guessing Game is a simple Python project where the computer randomly selects a number, and the player has to guess it within a certain number of attempts.
How does it work?
The program randomly selects a number within a given range (e.g., 1 to 100).
The player enters a guess.
The program provides feedback:
Too High – If the guess is greater than the actual number.
Too Low – If the guess is lower than the actual number.
Correct! – If the guess matches the actual number.
The game continues until the player guesses correctly or runs out of attempts.
The game tracks the number of attempts and displays a score at the end.
Note: You have only 7 chances to guess the number.