Author | Waffle |
Submission date | 2016-06-18 20:17:00.487910 |
Rating | 4390 |
Matches played | 406 |
Win rate | 45.07 |
Use rpsrunner.py to play unranked matches on your computer.
if input == "": # initialize variables for the first round
rockCount = paperCount = scissorsCount = 0
if input == "R":
output = "P"
elif input == "P":
output = "S"
else:
output = "R"