Guess the Number is a simple and fun text-based game where the player tries to guess a random number generated by the computer. It's an interactive way to test your intuition and have fun!
- The computer randomly selects a number between 1 and 100.
- The player receives hints such as "Too high!" or "Too low!" to guide their guesses.
- The game keeps track of the number of attempts.
- Simple, user-friendly, and great for all ages!
- Run the game script in a Python environment.
- Enter your guesses when prompted.
- Use the feedback ("Too high!" or "Too low!") to adjust your next guess.
- Keep guessing until you find the correct number.
- The game ends with a congratulatory message and the number of attempts.
- Clone or download this repository.
- Open a terminal or command prompt and navigate to the folder containing the script.
- Run the script using Python:
python guess-the-number.py