Skip to content

A simple yet addictive Python terminal game where you guess a secret number between 1 and 100!

Notifications You must be signed in to change notification settings

Woroc/-Number-guessing-game-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation


🔢 Number Guessing Game

A simple yet addictive Python terminal game where you guess a secret number between 1 and 100!

🎮 Features

  • Randomized secret number generation
  • Real-time hints (Too High/Too Low)
  • Track your total attempts
  • Input validation to prevent errors
  • Fun emoji feedback (🔼🔽🎉)
  • Clean terminal-based interface

🚀 How to Play

  1. Clone this repository
  2. Run python number_guessing_game.py
  3. Guess numbers until you find the secret!

🛠️ Getting Started

Requirements: Python 3.6+

# Install dependencies (none needed - pure Python!)  
# Just run the script and play!  

📸 Example Gameplay

Guess the number (1-100)!  
Your guess: 50  
Too high! 🔼  
Your guess: 25  
Too low! 🔽  
Your guess: 37  
🎉 Correct! You won in 3 attempts!  

💡 Customization

Easily modify:

  • Number range (edit random.randint(1, 100))
  • Hints/emoji messages
  • Add difficulty levels (see TODOs below)

🤝 Contributing

Found a bug? Want to improve it? Open an issue or PR!

⭐ Star this repo if you enjoy nostalgic terminal games!


For extra polish, you could add:

  • A screenshot of the game in action
  • Badges (Python version, license, etc.)
  • A "TODOs" section for future improvements
  • A link to your live demo (if hosted somewhere)

About

A simple yet addictive Python terminal game where you guess a secret number between 1 and 100!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages