Skip to content

Commit

Permalink
Merge pull request #1115 from amoghak-ds/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
prathimacode-hub authored Sep 26, 2023
2 parents baf0857 + ab353f1 commit 0fb4d6a
Showing 1 changed file with 34 additions and 18 deletions.
52 changes: 34 additions & 18 deletions PyGamesScripts/Rock-Paper-Scissors/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
# Rock Paper Scissor Game
### About the Game :-
- It is a game which we all had played in our childhood.
- It is terminal based game.
- It is single player only i.e. you play with computer.

### How to play?
- You get 10 chances.
- Type **r** to choose **Rock**, **p** to choose **Paper**, **s** to choose **Scissor**.
- After game end whomever score is high will win the game.

### Requirements
- Your computer should have Python 3.
- If your computer don't have Python you can download it from google.

### Screenshot of the game
![Game Image 1](game_img1.png)
![Game Image 2](game_img2.png)
## Rock, Paper, Scissors Game
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.

## How to Play
Clone or download this repository to your local machine.

Open your terminal or command prompt and navigate to the directory where the code is located.

Run the Python script by entering the following command:
python rock_paper_scissors.py

Follow the on-screen instructions to make your choice (rock, paper, or scissors) by typing 'r,' 'p,' or's,' respectively.

The computer will randomly select its choice, and the winner of the round will be determined according to the traditional rules of the game.

The game will continue until one of the players (you or the computer) reaches a total of 10 points.

After the game ends, you will see the final score and whether you won, lost, or tied the game.

You can choose to play another round or exit the game by pressing any key to continue or 'e' to exit.

## Game Rules
Rock beats Scissors
Scissors beats Paper
Paper beats Rock

Enjoy the game and have fun playing Rock, Paper, Scissors against the computer!







0 comments on commit 0fb4d6a

Please sign in to comment.