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