From b0709f806323b53454dd4a08763196bdc4a1674e Mon Sep 17 00:00:00 2001 From: MasfiAnsary Date: Sun, 10 Dec 2023 21:37:24 +0600 Subject: [PATCH] Fixes #135: Updated readme.md of number guessing game --- Number Guessing Game/readme.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Number Guessing Game/readme.md b/Number Guessing Game/readme.md index 39556e61..150555b8 100644 --- a/Number Guessing Game/readme.md +++ b/Number Guessing Game/readme.md @@ -1,3 +1,25 @@ ## Number Guessing Game -This is a basic Number Guessing Game implementation . \ No newline at end of file +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 \ No newline at end of file