Skip to content

Commit b98f365

Browse files
authored
Update README.md
1 parent e3678bd commit b98f365

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Rock Paper Scissors Game
2+
3+
Welcome to the **Rock Paper Scissors Game**, where you can play against the computer!
4+
5+
## Game Rules
6+
7+
- **Rock** vs **Paper** → Paper Wins
8+
- **Rock** vs **Scissors** → Rock Wins
9+
- **Paper** vs **Scissors** → Scissors Wins
10+
11+
## How to Play
12+
13+
1. The game will prompt you to enter the number of rounds you want to play.
14+
2. For each round, you will choose between Rock, Paper, and Scissors by entering the corresponding number:
15+
- 1 - Rock
16+
- 2 - Paper
17+
- 3 - Scissors
18+
3. The computer will randomly select its choice.
19+
4. The game will then determine the winner based on the rules and display the result.
20+
5. After each round, you will be asked if you want to play again. If you choose `yes`, an additional round will be played. If you choose `no`, the game will end.

0 commit comments

Comments
 (0)