Skip to content

Number Guessing Game An interactive Python-based number guessing game with hints, attempt tracking, and a Developer Mode for advanced features. Perfect for learning and casual play!

License

Notifications You must be signed in to change notification settings

chayotic/Number_Guesser_Game-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Number Guessing Game ๐ŸŽฒ

A fun and interactive Python game where the user tries to guess a randomly generated number between 0 and 100. Includes features for tracking average tries, error handling, and a developer mode with special commands.


Features ๐Ÿš€

  • Random Number Generation: Guess a number between 0 and 100.
  • Error Handling: Handles invalid inputs gracefully.
  • Average Tries Calculation: Keeps track of average attempts per game.
  • Developer Mode: Access debug information and additional commands.

Developer Options โš™๏ธ

Developer mode unlocks additional commands:

  • /updlogs - Display update logs.
  • /number - Reveal the random number for debugging.
  • /dev - Enable developer mode.

To activate developer mode, enter /dev during gameplay.


How to Play ๐ŸŽฎ

  1. Run the Python script.
  2. Guess a number between 0 and 100.
  3. Follow hints like "Try Going Higher" or "Try Going Lower" to reach the correct answer.
  4. Once guessed correctly, youโ€™ll see: "PERFECT" ๐ŸŽ‰.

You can choose to start a new game or exit after completing one.


Requirements ๐Ÿ› 

Update Log ๐Ÿ“–

v0.1: Initial Release.

v0.2: Added range check for user input (0-100).

v0.3: Improved input validation for strings and out-of-range values.

v0.4: Implemented validation to check for 'yes' or 'no' responses with error handling.

v0.5: Added feature to calculate and display the average number of tries across multiple games.

v0.6: Bug Fix.

v0.7: Developer Options Added.


License ๐Ÿ“„

This project is licensed under the MIT License.


About

Number Guessing Game An interactive Python-based number guessing game with hints, attempt tracking, and a Developer Mode for advanced features. Perfect for learning and casual play!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages