An interactive number guessing game where players try to guess a random number between 1 and 100
Project description
Number Guessing Game
An interactive command-line guessing game where players try to guess a random number between 1 and 100.
Features
- 🎮 Interactive gameplay
- 🎯 Guess feedback (too high/too low)
- 📊 Attempt tracking
- 🔄 Play multiple rounds
- 🚪 Easy quit option
Installation
Install from PyPI:
pip install number-guessing-game
Usage
As a command-line tool:
number-guessing-game
As a Python module:
from number_guessing_game import play_game
play_game()
How to Play
- Run the game and enter bhimesh
- The computer thinks of a number between 1 and 100
- Make your guess
- Receive feedback on whether your guess is too high or too low
- Keep guessing until you find the number
- Choose to play again or quit
You can exit at any time by typing 'q' when prompted for a guess.
Requirements
- Python 3.6 or higher
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Feel free to submit a pull request.
Author
bhimesh (your.email@example.com)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file number_guessing_game_bhimesh-1.0.1.tar.gz.
File metadata
- Download URL: number_guessing_game_bhimesh-1.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03c74c59db2764a492bfa6cf5629d301cebaeb24c71d0e8e73e421a85a72ed00
|
|
| MD5 |
2159d41646df00f060db0bb293d9c40e
|
|
| BLAKE2b-256 |
c848c747ca8419f1ae0392d3f6a955078f2ddb164efff9b79d0d6ac2d905642c
|
File details
Details for the file number_guessing_game_bhimesh-1.0.1-py3-none-any.whl.
File metadata
- Download URL: number_guessing_game_bhimesh-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
056cdcc4dc01e453a2d0f9405a2e188d7a811df23ea820de2f06e21834d72f70
|
|
| MD5 |
d0b6090bd85bb9fb803aceae5ce22d8f
|
|
| BLAKE2b-256 |
eb2b96a77972b92610b5c2a8db5dad15ceeb60f91f5f5ca28b40181179628b15
|