Skip to content

ericsryan/python_techdegree_project_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

The Number Guessing Game

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.

Installation

  1. Clone the repository to your local machine.
git clone https://github.com/ericsryan/python_techdegree_project_1.git
  1. Navigate to the project directory.
cd python_techdegree_project_1
  1. Run the command python guessing_game.py to start the game.
python guessing_game.py

How to Play

  1. The game will generate a random number between 1 and 10.
  2. The player has to guess the number by entering a number between 1 and 10.
  3. The game will tell the player if their guess is too high or too low.
  4. The player has to keep guessing until they guess the correct number.
  5. The game will tell the player how many attempts it took to guess the number.
  6. The player can choose to play again to try and beat their high score.

Credits

This project was built as part of the Python Development Techdegree program by Treehouse.

About

The Number Guessing Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages