Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atharvguitarist/guessing-game-in-python
This Python script implements a simple "Guess the Number" game using the Tkinter library for the graphical user interface. In this game, the player needs to guess a randomly generated number within a specified range.
https://github.com/atharvguitarist/guessing-game-in-python
Last synced: about 1 month ago
JSON representation
This Python script implements a simple "Guess the Number" game using the Tkinter library for the graphical user interface. In this game, the player needs to guess a randomly generated number within a specified range.
- Host: GitHub
- URL: https://github.com/atharvguitarist/guessing-game-in-python
- Owner: atharvguitarist
- Created: 2024-01-28T20:28:40.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-28T21:21:48.000Z (12 months ago)
- Last Synced: 2024-01-29T22:58:45.166Z (12 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guessing game in Python
This Python script implements a simple "Guess the Number" game using the Tkinter library for the graphical user interface. In this game, the player needs to guess a randomly generated number within a specified range.# 🚀 Features:
-> The player specifies the range of random numbers within which the secret number will be generated.
-> The player enters their guess into an entry field and clicks the "Guess" button to check if their guess matches the secret number.
-> Feedback is provided based on the player's guess (e.g., "Try a lower number" or "Go a little higher").
-> The player can start a new game at any time, resetting the range and clearing the guess history.
-> The output textbox displays feedback messages and the results of each guess.# 🎮 How to Play:
1. Run the script.
2. Enter the desired range of random numbers into the "Range of Random Numbers" entry fields.
3. Enter your guess into the "Enter your guess" entry field and click the "Guess" button.
4. Receive feedback on your guess in the output textbox.
5. Repeat steps 3-4 until you correctly guess the secret number.
6. Click the "New Game" button to start a new game.# 📁 Files:
'guess_the_number.py': The Python script containing the game implementation.
# 🗃️ Dependencies:
1. Python 3.x
2. Tkinter library# 📈 Usage:
1. Clone the repository to your local machine.
2. Run the guess_the_number.py script using Python.# ➕ Contributing:
Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.
# 🪪 License:
Unlicensed - Student Project