Skip to content

Latest commit

ย 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฏ Number Guessing Game

Python Status Beginner Friendly


๐Ÿง  About the Project

The Number Guessing Game is a simple Python-based console game where the player tries to guess a randomly generated number within a defined range.

After each guess, the program provides hints such as "Too High" or "Too Low", helping the player reach the correct answer in the minimum number of attempts.

This project is perfect for beginners to understand core programming concepts in a fun and interactive way.


๐Ÿš€ Features

  • ๐ŸŽฒ Random number generation
  • ๐Ÿง‘โ€๐Ÿ’ป Interactive user input
  • ๐Ÿ“Š Feedback after each guess (higher/lower hints)
  • ๐Ÿ”ข Tracks number of attempts
  • ๐Ÿ’ก Simple and clean command-line interface

๐Ÿง‘โ€๐Ÿซ Concepts Used

  • Loops (while, for)
  • Conditional statements (if-else)
  • Python random module
  • User input handling
  • Basic problem-solving logic

๐ŸŽฎ How to Play

  1. Run the Python file
  2. Enter your guess
  3. Follow the hints provided:
    • ๐Ÿ“ˆ Too High โ†’ Try a smaller number
    • ๐Ÿ“‰ Too Low โ†’ Try a larger number
  4. Keep guessing until you find the correct number ๐ŸŽ‰

๐Ÿ› ๏ธ Installation & Run

# Clone the repository
git clone https://github.com/your-username/Guessing-game-Python.git

# Move into directory
cd Guessing-game-Python

# Run the game
python game.py

About

The Number Guessing Game is a simple and interactive Python project where the player tries to guess a randomly generated number within a given range. It is designed to be beginner-friendly and helps understand basic programming concepts in a fun way.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages