Skip to content

SHRESHTHBEHAL/Numberguessinggame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

NUMBER GUESSING GAME IN PYTHON

A customizable CLI game that demonstrates core Python programming concepts with clean, maintainable code.

Features

  • 3 Difficulty Levels (Easy/Medium/Hard) with adaptive number ranges
  • Attempt Tracking with remaining guesses counter
  • Input Validation prevents crashes from non-number inputs
  • User-Friendly Interface with emoji feedback
  • Pure Python (No external dependencies used)

How It Works

# Core game logic snippet
def check_guess(secret, guess):
    if guess == secret:
        return "🎉 Correct!"
    return "⬆️ Higher!" if guess < secret else "⬇️ Lower!"

Developed with ❤️ by Shreshth Behal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages