Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #135: Updated readme.md of number guessing game #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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