Skip to content

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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy