This Python program implements a classic Number Guessing Game! Test your luck and see if you can guess the secret number within the allowed attempts.
- Run the script:
python number_guessing_game.py
- Choose a difficulty level (easy, medium, hard) - affects the number range.
- The game will ask you to guess a number within the specified range.
- Enter your guess.
- The program will tell you if your guess is too high or too low.
- Keep guessing until you guess the correct number or run out of attempts (depending on difficulty).
- Difficulty levels for different skillsets.
- User-friendly input validation ensures valid guesses.
- Tracks the number of guesses taken.
- Option to play another round after finishing a game.
- Python 3.x
Feel free to fork the code and make improvements! You can add new difficulty levels, customize messages, or even implement a scoring system.