Skip to content

Commit

Permalink
Fixes Shahrayar123#135: Updated readme.md of number guessing game
Browse files Browse the repository at this point in the history
  • Loading branch information
MasfiAnsary committed Dec 10, 2023
1 parent 4692a92 commit b0709f8
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion Number Guessing Game/readme.md
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

0 comments on commit b0709f8

Please sign in to comment.