Skip to content
/ game Public

Number guessing game between 0 and 100 with python

Notifications You must be signed in to change notification settings

reza72rg/game

Repository files navigation

Number Guessing Game

License: MIT

This is a simple number guessing game written in Python. The program prompts the player to enter their name and then generates a random number between 0 and 100. The player's objective is to guess the generated number by following the instructions provided by the program.

Game Modes

1. Guess the Number

In this mode, the program generates a random number between 0 and 100. The player needs to input their guesses and the program provides feedback on whether the guess is too high or too low. The player continues guessing until they correctly guess the number.

2. Help the System Guess the Number

In this mode, the player thinks of a number between 0 and 100. The program then tries to guess the number by asking the player for instructions. The player provides feedback on whether the guessed number is too high or too low, helping the program refine its guess. The game continues until the program correctly guesses the number.

Getting Started

  1. Clone this repository to your local machine:

bash git clone https://github.com/your-username/your-repo.git

  1. Run the Python script:

bash python number_guessing_game.py

  1. Follow the instructions provided by the program to play the game.

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

  • Special thanks to [myself] for their assistance and feedback during the development of this project.

About

Number guessing game between 0 and 100 with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages