-
-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1115 from amoghak-ds/patch-2
Update README.md
- Loading branch information
Showing
1 changed file
with
34 additions
and
18 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 |
---|---|---|
@@ -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! | ||
|
||
|
||
|
||
|
||
|
||
|
||
|