Skip to content

This is a command line based guess the number game which is made using python.

License

Notifications You must be signed in to change notification settings

MusaTahawar/Guess-The-Number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Number Guessing Game

Welcome to the Number Guessing Game! This is a simple Python script that allows you to play a number guessing game. Try to guess a random number between 10 and 25 in a limited number of attempts.

How to Play

  1. Clone the repository to your local machine:

    git clone https://github.com/yourusername/number-guessing-game.git
    cd number-guessing-game
     Run the game:
     
     shell
     python number_guessing_game.py
     Follow the on-screen instructions to guess the number.

Features

  • Random Number: The game generates a random number between 10 and 25 for each playthrough.
  • User-Friendly: The game provides helpful instructions and feedback to the player.
  • Limited Attempts: You have a maximum of 9 attempts to guess the correct number.
  • Informative Messages: The game offers informative hints to help you guess the number.

Usage

  • You can customize the range of numbers by modifying the random.randint(10, 25) in the code.
  • You can also change the number of attempts by adjusting the max_attempts variable.

About

This is a command line based guess the number game which is made using python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages