Skip to content

Alvi24-hub/Number-Guessing-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Number Guessing Game


Welcome to my first Python mini-game!
This is a fun little number guessing game where you try to guess a randomly generated number based on clues. Moreover, you get to choose the difficulty and whether to limit your attempts!


Features

  • Choose from three difficulty levels: Easy, Medium, Hard
  • Option to limit the number of guesses (or go unlimited!)
  • Hot/Warm/Cold clues based on how close your guess is
  • Feedback on how quickly you got the answer
  • Friendly text-based interface

How to run

  1. Make sure Python is installed on your system.
  2. Clone or download this project folder.
  3. Open a terminal (or use VS Code).
  4. Run the program using:
python code.py

Why I Made This

I wanted to start building fun beginner-friendly projects to improve my Python skills. This one helped me practice:

  • Loops and conditionals
  • Input handling
  • Error handling
  • Random number generation
  • Clean code formatting
  • Writing meaningful clues and feedback

Example Gameplay

alt text alt text alt text alt text alt text alt text alt text


Additional Features I Plan On Adding

  • Score tracking system
  • High-score save/load

Requirements

  • Python 3.13.3+
  • No external libraries needed

About

A simple number guessing game built with Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages