https://github.com/icebarraged/rockpaperscissors
A replayable Rock Paper Scissors game.
https://github.com/icebarraged/rockpaperscissors
Last synced: about 1 year ago
JSON representation
A replayable Rock Paper Scissors game.
- Host: GitHub
- URL: https://github.com/icebarraged/rockpaperscissors
- Owner: IceBarraged
- Created: 2024-12-07T13:44:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-07T14:04:34.000Z (over 1 year ago)
- Last Synced: 2025-01-27T23:48:25.886Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RockPaperScissors ✊🤚✌️
A basic *Rock Paper Scissors* game made with Python.
## Features
* I use a LEFT function in order to take the first letter of the users input. Provided the input starts with "R", "P" or "S" it will be valid.
* I added handling for misinputs in the case that the user inputs something other than a word/letter starting with "R", "P" or "S". Try using "Banana" as an input.
* I added a loop so the game can be replayed, with values resetting so that the game doesn't get caught in an infinite loop. I saw that this was missing on most solutions out there, and besides, who doesn't play *Rock Paper Scissors* for a best of 3? 😏
Stay frosty 🧊