Skip to content

A Python-based command-line "Guess the Number" game with smart difficulty levels, hints, and ASCII art titles using `pyfiglet`.

License

Notifications You must be signed in to change notification settings

Vaibhav-coder-king/Guess-the-Number-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Guess-the-Number-Game

🎮 Guess the Number Game (CLI Version)

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.

✨ Features

  • 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

📦 Requirements

  • Python 3.x
  • pyfiglet module

Install pyfiglet using pip if you don’t have it:

pip install pyfiglet

🕹️ Game Flow

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.

preview

image image image

🧠 Difficulty Levels

Range Width Level :

3 - 10 Easy

11 - 50 Moderate

51 - 100 Hard

=>100 Very Hard

👨‍💻 Author

Developed by Vaibhav-coder-king.

About

A Python-based command-line "Guess the Number" game with smart difficulty levels, hints, and ASCII art titles using `pyfiglet`.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages