Rock Paper Scissors
Simple Rock Paper Scissors game on Python 3 console.
🔧 How it works?
I used random library to randomize computer choice.
The user types his option, a logical test is performed to know the result and what should be printed on screen. If the user inputs one of the key-words (stopOptions = ["Parar", "Encerrar","Finalizar", "Pare", "Fim"]
) choosed to stop the game, the game is stopped and the final results is shown.
💡 Easter Eggs
The game has some easter eggs from the tv show "The Big Bang Theory". The user can also choose "Lizard" or "Spock": possibleChoices = [rock, paper, scissors, lizard, spock]
However, the computer cannot choose the easter eggs objects, so interactions between "Lizard" and "Spock" are not available.
:notebook: Rules:
- Equal objects tie.
- Diferent objects:
- Rock
- Is covered by the Paper (-)
- Crushes Scissors (+)
- Crushes Lizard (+)
- Is vaporized by Spock (-)
- Paper
- Covers Rock (+)
- Is cutted by Scissors (-)
- Is eated by the Lizard (-)
- Disproves Spock (+)
- Scissors
- Is crushed by the Rock (-)
- Cuts the Paper (+)
- Decapitates the Lizard (+)
- Is smashed by Spock (-)
- Lizard
- Is crushed by the Rock (-)
- Eats the Paper (+)
- Is decapitated by Scissors (-)
Poisons Spock (+)(As the computer cannot choose easter egg options, this option is unavailable)
- Spock
- Vaporizes the Rock (+)
- Is disproved by the Paper (-)
- Smashes the Scissors (+)
Is poisoned by the Lizard (-)(As the computer cannot choose easter egg options, this option is unavailable)
- Rock
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
- Make a fork;
- Create a branck with your feature:
git checkout -b my-feature
; - Commit changes:
git commit -m 'feat: My new feature'
; - Make a push to your branch:
git push origin my-feature
.
After merging your receipt request to done, you can delete a branch from yours.
Show your support
Give a ⭐️ if this project helped you!
📝 License
This project is under the MIT license. See the LICENSE for details.
Made with ♥ by Welton Felix 👋 Get in touch!