Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lordxexsteros/shiny-rps
This python project is a rock paper scissors (RockPaperScissors)
https://github.com/lordxexsteros/shiny-rps
Last synced: 20 days ago
JSON representation
This python project is a rock paper scissors (RockPaperScissors)
- Host: GitHub
- URL: https://github.com/lordxexsteros/shiny-rps
- Owner: lordxexsteros
- Created: 2024-07-07T17:44:39.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T03:56:58.000Z (7 months ago)
- Last Synced: 2024-11-17T05:29:06.827Z (3 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rock, Paper, Scissors Game
This is a simple implementation of the classic Rock, Paper, Scissors game in Python.## How to Play
Clone the Repository:```bash
git clone
```## Navigate to the Directory:
```bash
cd rock-paper-scissors-python
```## Run the Game:
python rps_game.py## Game Instructions:
You will be prompted to enter your choice: rock, paper, or scissors.
The computer will randomly select its choice.
The winner for each round will be determined based on the classic rules:
Rock crushes Scissors
Scissors cuts Paper
Paper covers Rock
You can choose to play again after each round.
Enjoy the Game!
# Example Gameplay
Welcome to Rock, Paper, Scissors!--- Rock, Paper, Scissors ---
Enter your choice:
1. Rock
2. Paper
3. Scissors
Your choice (1/2/3): 2You chose: paper
Computer chose: rockYou win!
Do you want to play again? (yes/no): yes
--- Rock, Paper, Scissors ---
Enter your choice:
1. Rock
2. Paper
3. Scissors
Your choice (1/2/3): 3You chose: scissors
Computer chose: rockComputer wins!
Do you want to play again? (yes/no): no
Thanks for playing Rock, Paper, Scissors!