Skip to content

Commit 0fb4d6a

Browse files
Merge pull request #1115 from amoghak-ds/patch-2
Update README.md
2 parents baf0857 + ab353f1 commit 0fb4d6a

File tree

1 file changed

+34
-18
lines changed

1 file changed

+34
-18
lines changed
Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
1-
# Rock Paper Scissor Game
2-
### About the Game :-
3-
- It is a game which we all had played in our childhood.
4-
- It is terminal based game.
5-
- It is single player only i.e. you play with computer.
6-
7-
### How to play?
8-
- You get 10 chances.
9-
- Type **r** to choose **Rock**, **p** to choose **Paper**, **s** to choose **Scissor**.
10-
- After game end whomever score is high will win the game.
11-
12-
### Requirements
13-
- Your computer should have Python 3.
14-
- If your computer don't have Python you can download it from google.
15-
16-
### Screenshot of the game
17-
![Game Image 1](game_img1.png)
18-
![Game Image 2](game_img2.png)
1+
## Rock, Paper, Scissors Game
2+
This is a simple command-line implementation of the classic Rock, Paper, Scissors game in Python. You can play against the computer and see who wins the most rounds.
3+
4+
## How to Play
5+
Clone or download this repository to your local machine.
6+
7+
Open your terminal or command prompt and navigate to the directory where the code is located.
8+
9+
Run the Python script by entering the following command:
10+
python rock_paper_scissors.py
11+
12+
Follow the on-screen instructions to make your choice (rock, paper, or scissors) by typing 'r,' 'p,' or's,' respectively.
13+
14+
The computer will randomly select its choice, and the winner of the round will be determined according to the traditional rules of the game.
15+
16+
The game will continue until one of the players (you or the computer) reaches a total of 10 points.
17+
18+
After the game ends, you will see the final score and whether you won, lost, or tied the game.
19+
20+
You can choose to play another round or exit the game by pressing any key to continue or 'e' to exit.
21+
22+
## Game Rules
23+
Rock beats Scissors
24+
Scissors beats Paper
25+
Paper beats Rock
26+
27+
Enjoy the game and have fun playing Rock, Paper, Scissors against the computer!
28+
29+
30+
31+
32+
33+
34+

0 commit comments

Comments
 (0)