Skip to content

AydinHassanpour/NumberGuessingGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Guess The Number This is a simple number guessing game written in Python.

How to Play When you run the program, a random number between 1 to 100 is generated. The program will ask you to guess the number.

Based on your guess, it will give you hints if your guess is too high or too low. You keep guessing until you get the number correct.

The program keeps track of the number of attempts it took you to arrive at the correct number.

Requirements This program requires Python 3 to be installed on your system. No additional libraries are used.

Usage To run the game, simply execute the Python file as:

python guess_number.py Follow the on-screen prompts to play the game.

Customizing the Game You can customize aspects of the game by modifying the source code. For example, you can change the range of numbers or add difficulties.

Comments have been added to explain each part of the code.

License This project is licensed under the MIT License. Feel free to modify and reuse the code.

Contributing Contributions to improve the game are welcome! Please fork the repo and open a pull request detailing your changes.

Let me know if you have any other ideas for improvements.

Happy guessing!

About

NumberGuessingGame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages