๐ฏ Number Guessing Game โ Python
This is a simple and interactive Number Guessing Game built using Python. The program randomly generates a number, and the player must guess it. After each guess, the program provides feedback โ telling the player to guess higher or lower โ until the correct number is guessed. It also keeps track of how many attempts the user takes.
๐น Features
Random number generation using the random module
User input via the terminal
Helpful feedback on each guess (Higher number please / Lower number please)
Tracks and displays the total number of attempts
๐ ๏ธ Technologies Used
Python (No external libraries)
Developed using Visual Studio Code
๐น๏ธ How It Works
The program picks a random number (e.g., between 1 and 100)
The player enters their guess
The program responds with:
"Higher number please" if the guess is too low
"Lower number please" if the guess is too high
"Correct!" when the guess is right
After guessing correctly, the total number of attempts is displayed
๐ How to Run
Make sure Python is installed on your system
Clone this repository or download the .py file
Run the script
๐ง Learning Concepts
Using the random module
Input/output handling in Python
Loops and conditional logic
Basic user interaction in terminal
โ Why This Repository?
This game is ideal for:
Students and beginners learning Python
Practicing control flow and user interaction
Building logic and algorithmic thinking
Adding a small but meaningful project to your GitHub portfolio