https://github.com/pranjalco/number-guessing-game-intermediate
A fun and interactive number-guessing game where the player attempts to guess a randomly generated number within a specified range. The game offers two difficulty levels—Easy and Hard—each with a different number of attempts.
https://github.com/pranjalco/number-guessing-game-intermediate
conditional-statements error-handling game-development gaming intermediate loops modular-programming python-programming user-input-handling
Last synced: about 2 months ago
JSON representation
A fun and interactive number-guessing game where the player attempts to guess a randomly generated number within a specified range. The game offers two difficulty levels—Easy and Hard—each with a different number of attempts.
- Host: GitHub
- URL: https://github.com/pranjalco/number-guessing-game-intermediate
- Owner: pranjalco
- License: mit
- Created: 2024-12-05T05:37:58.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-16T15:34:10.000Z (2 months ago)
- Last Synced: 2025-03-16T16:34:49.139Z (2 months ago)
- Topics: conditional-statements, error-handling, game-development, gaming, intermediate, loops, modular-programming, python-programming, user-input-handling
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Number Guessing Project
A fun number-guessing game where players try to guess a randomly generated number within a set range. Offers Easy (10 attempts) and Hard (5 attempts) difficulty levels.## Author
Pranjal Sarnaik## Features
- Random number generation (1 to 100).
- Two difficulty levels: Easy (10 attempts) and Hard (5 attempts).
- User-friendly input handling with error checks.
- Real-time feedback (too high, too low, correct).
- Modular design with clear game structure.## Tech Stack
Intermediate | Python | Modular Programming | Error Handling | Loops | Conditional Statements | Random Module | User Input Handling | Gaming## How to Run
1. Clone the repo:
```bash
git clone https://github.com/pranjalco/number-guessing-game-intermediate.git2. Run:
```bash
python app.py**Created by Pranjal Sarnaik**
*© 2024. All rights reserved.*