Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
JawadSher committed May 31, 2024
2 parents ac839ee + b98f365 commit c0ab339
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Project 4 - Rock Paper Scissor/README.md
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.

0 comments on commit c0ab339

Please sign in to comment.