forked from Shahrayar123/Python-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Shahrayar123#135: Updated readme.md of number guessing game
- Loading branch information
1 parent
4692a92
commit b0709f8
Showing
1 changed file
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
## Number Guessing Game | ||
|
||
This is a basic Number Guessing Game implementation . | ||
This is a simple number guessing game written in Python. The computer generates a random number between 1 and 100, and the player has to guess the correct number. | ||
|
||
## How to Play | ||
|
||
1. Run the Python script. | ||
2. Enter your guess when prompted. | ||
3. The game will provide feedback on whether your guess is too big, too small, or correct. | ||
4. Continue guessing until you guess the correct number. | ||
|
||
## Game Logic | ||
|
||
- The game starts by generating a random number between 1 and 100. | ||
- After each guess, the player receives feedback on the guess (too big, too small, or correct). | ||
- The game keeps track of the number of attempts until the correct number is guessed. | ||
|
||
## Getting Started | ||
|
||
1. Clone this repository to your local machine. | ||
2. Ensure you have Python installed. | ||
3. Run the script in a Python environment. | ||
|
||
```bash | ||
python number_guessing_game.py |