This is a simple number guessing game built in Python. The game generates a random number between 1 and 10, and the player has to guess the number in as few attempts as possible. The game keeps track of the player's high score, and the player can choose to play again to try and beat their high score.
- Clone the repository to your local machine.
git clone https://github.com/ericsryan/python_techdegree_project_1.git
- Navigate to the project directory.
cd python_techdegree_project_1
- Run the command
python guessing_game.py
to start the game.
python guessing_game.py
- The game will generate a random number between 1 and 10.
- The player has to guess the number by entering a number between 1 and 10.
- The game will tell the player if their guess is too high or too low.
- The player has to keep guessing until they guess the correct number.
- The game will tell the player how many attempts it took to guess the number.
- The player can choose to play again to try and beat their high score.
This project was built as part of the Python Development Techdegree program by Treehouse.