Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit edfba66

Browse filesBrowse files
committed
rock_paper_scissors how to play has been added
1 parent 1a4b302 commit edfba66
Copy full SHA for edfba66

File tree

1 file changed

+32
-0
lines changed
Filter options

1 file changed

+32
-0
lines changed

‎projects/rock-paper-scissors/README.md

Copy file name to clipboardExpand all lines: projects/rock-paper-scissors/README.md
+32Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,35 @@ This is a simple Python-based implementation of the classic game where you play
77
- Input validation to ensure only valid choices are accepted.
88
- Display the final result at the end of the game.
99

10+
11+
## How to Play
12+
13+
### Start the Game
14+
15+
When you run the script, you'll be prompted to enter the number of rounds you wish to play.
16+
17+
### Make Your Choice
18+
19+
For each round, you will be asked to choose one of the following options: `rock`, `paper`, or `scissors`.
20+
21+
### Computer's Choice
22+
23+
The computer will randomly select its choice.
24+
25+
### Determine the Winner
26+
27+
The winner of each round is determined based on the classic rules of Rock, Paper, Scissors:
28+
29+
- **Rock** crushes **Scissors**
30+
- **Scissors** cuts **Paper**
31+
- **Paper** covers **Rock**
32+
33+
### View Scores
34+
35+
After each round, the scores will be updated and displayed.
36+
37+
### End of Game
38+
39+
At the end of all rounds, the final scores will be displayed, and the winner will be announced.
40+
41+

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.