Skip to content

Description: numGuess is a number guessing game developed in Python. Players try to guess a secret number within a given range and earn a score based on the number of attempts. The game features different difficulty levels and saves high scores.

License

Notifications You must be signed in to change notification settings

dhsagaryt/numGuess.Py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

numGuess.Py Game

Description: numGuess is a number guessing game developed in Python. Players try to guess a secret number within a given range and earn a score based on the number of attempts. The game features different difficulty levels and saves high scores. It also supports both rich-text and plain-text modes depending on the availability of dependencies.

Features

  • Difficulty Levels: Choose between Easy (1-100) and Hard (1-1000).
  • High Scores: Save and display high scores with timestamps.
  • Hints: Receive hints based on your guesses.
  • Interactive Console UI: Provides a rich-text interface with color and formatting if dependencies are installed; otherwise, defaults to a plain-text mode.

Dependencies

  • rich: For enhanced console output (color, formatting, etc.) If the rich library is not installed, the program will run in a basic text-only mode.

Installation

1. Clone the Repository

  git clone https://github.com/your-username/numGuess.git
  cd numGuess

2. You can install the required dependencies using pip. To install the rich library:

  pip install rich

If you do not want to install rich, the program will still run in a basic text-only mode without enhanced formatting.

Usage

Run the game by executing the following command:

python numGuess.py

The game will prompt you to enter your name or to check high scores. You can choose to play the game, check high scores, or quit.

Contributing

Feel free to contribute to this project. You can open issues, submit pull requests, or provide feedback.

License

This project is licensed under the MIT License. See the LICENSE

Authors

Developed by Ocean-PI

About

Description: numGuess is a number guessing game developed in Python. Players try to guess a secret number within a given range and earn a score based on the number of attempts. The game features different difficulty levels and saves high scores.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages