Author | bob |
Submission date | 2019-11-24 14:47:40.812906 |
Rating | 3144 |
Matches played | 210 |
Win rate | 32.38 |
Use rpsrunner.py to play unranked matches on your computer.
if input == "": # initialize variables for the first round
i=1
input="R"
if i == 1:
i += 1
output="P"
elif i == 2:
i += 1
output="S"
elif i == 3:
i = 1
output="R"