Skip to content

nullptr088/Python-guess-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Number Guessing Game

A simple Python console game where the computer randomly selects a number between 1 and 100, and the player tries to guess it.


🎮 How It Works

  1. The program generates a random number between 1 and 100.
  2. The player inputs a guess.
  3. The program gives feedback:
    • "Too low!" if the guess is smaller than the number.
    • "Too high!" if the guess is bigger than the number.
  4. The game continues until the player guesses the correct number.
  5. The program shows the total number of attempts.

🛠️ Usage

Run the game

python guess_number.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages