-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Rock Paper Scissors Game | ||
|
||
Welcome to the **Rock Paper Scissors Game**, where you can play against the computer! | ||
|
||
## Game Rules | ||
|
||
- **Rock** vs **Paper** → Paper Wins | ||
- **Rock** vs **Scissors** → Rock Wins | ||
- **Paper** vs **Scissors** → Scissors Wins | ||
|
||
## How to Play | ||
|
||
1. The game will prompt you to enter the number of rounds you want to play. | ||
2. For each round, you will choose between Rock, Paper, and Scissors by entering the corresponding number: | ||
- 1 - Rock | ||
- 2 - Paper | ||
- 3 - Scissors | ||
3. The computer will randomly select its choice. | ||
4. The game will then determine the winner based on the rules and display the result. | ||
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. |