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

11 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

Made 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