Congratulations! You just finished coding a game in Python! You now know how to create rock paper scissors from scratch, and you’re able to expand the number of possible actions in your game with minimal effort.
In this course, you:
- Coded your own rock paper scissors game
- Took in user input with
input() - Played several games in a row using a
whileloop - Cleaned up your code with
IntEnumand functions - Described more complex rules with a dictionary
- Learned that lizards poison Spock
dngrant on Sept. 29, 2021
Outstanding Chris. Thank you and the RP team for putting this together. I’ve never dealt with
IntEnumsbefore. I will look for ways to put this into practice.