Skip to content

🎯 A simple Python "Guess the Number" game where the computer picks a random number and the player tries to guess it with hints.

Notifications You must be signed in to change notification settings

Dhruvgaur09/Guess-game-in-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎲 Guess The Number Game (Python)

This is my first GitHub repository! πŸš€
A simple command-line number guessing game written in Python.

πŸ“Œ How it works

  • The program randomly chooses a number between 1 and 100.
  • The player has to guess the number.
  • After each guess, the program gives hints:
    • "lower number please" β†’ if your guess is too high.
    • "higher number please" β†’ if your guess is too low.
  • The game ends when you guess the number correctly.
  • Finally, it shows how many attempts you took.

πŸ–₯️ Run the Game

Make sure you have Python installed, then run:

python guess_number.py

About

🎯 A simple Python "Guess the Number" game where the computer picks a random number and the player tries to guess it with hints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages