Welcome to the Guess the Number Game — a simple and fun command-line game built with Python. The game randomly selects a number within a range you specify, and your job is to guess it with hints along the way.
- User-defined range input
- Difficulty level detection (Easy, Moderate, Hard, Very Hard)
- Smart hints based on guess proximity (e.g., Too high, Too low, It's close)
- ASCII-art titles using
pyfiglet
- Input validation and retry options
- Python 3.x
pyfiglet
module
Install pyfiglet
using pip if you don’t have it:
pip install pyfiglet
Input a starting and ending integer value.
The program calculates difficulty based on the range.
You guess numbers until you get it right.
Hints help you adjust your guesses.
You can choose to play again or exit.



Range Width Level :
3 - 10 Easy
11 - 50 Moderate
51 - 100 Hard
=>100 Very Hard
Developed by Vaibhav-coder-king.