r/badcode • u/fnieidhfenmbvfekh • Mar 30 '23
python Another legendary code from high-school. This one was in Python though. This is for a rock-paper-scissors game.
360
Upvotes
r/badcode • u/fnieidhfenmbvfekh • Mar 30 '23
View all comments
39
u/mfb- Mar 30 '23
If you are player 1, just pick rock. Tell the other player you picked rock. What is your opponent going to do, pick paper? Congratulations, you win!