Author | Steeler |
Submission date | 2011-06-09 16:52:49.122446 |
Rating | 2336 |
Matches played | 5392 |
Win rate | 26.72 |
Use rpsrunner.py to play unranked matches on your computer.
if input == "":
round = 1
else:
round += 1
if round < 51:
output = "R"
elif round == 51:
output = "S"
elif (output == "R" and input == "P") or (output == "P" and input == "S") or (output == "S" and input == "R"):
output = input