Refactor a rock-paper-scissors simulation

0
Remix

You get existing code in which three bots play rock-paper-scissors against each other and the program prints how many games each bot won. Change it so the number of rounds is configurable and draws are counted too. The point is reading unfamiliar code and making a clean change without breaking it.

AppleCodingLast asked Sep 2025
No answer yet. Write the first one; the best answer gets endorsed.