I kept seeing rock paper scissors written up as a beginner exercise and wanted to raise the bar. Five throws is a genuinely harder problem: ten outcomes instead of three, and every one of them has its own verb.
Pick one and find out.
0 won0 lost0 tied
All ten of them
- rock crushes scissors
- rock crushes lizard
- paper covers rock
- paper disproves spock
- scissors cuts paper
- scissors decapitates lizard
- lizard poisons spock
- lizard eats paper
- spock smashes scissors
- spock vaporizes rock