Skip to content

Maleesha-Dinujaya/Number-Guessing-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Guessing Game

This is a simple Python guessing game where you try to guess a random number between 0 and a user-defined range. The program provides feedback on whether your guess is too high or too low, and it counts the number of guesses it takes for you to find the correct number.

Getting Started

  1. Clone this repository to your local machine using git clone.

  2. Run the Python script guessing_game.py in your preferred Python environment.

Usage

  • Input your desired range to generate a random number within that range.
  • Make guesses by entering numeric values.
  • The program will inform you if your guess is too high or too low.
  • Keep guessing until you find the correct number.
  • The program will display the number of guesses it took to find the correct number.

Contributing

Contributions are welcome! If you have any improvements or suggestions, feel free to open an issue or submit a pull request.

Acknowledgments

  • This project is a simple example of a Python guessing game.
  • It can be used as a starting point for learning Python programming.

Happy guessing!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages