Author | Ferior |
Submission date | 2011-05-26 15:29:15.581910 |
Rating | 1942 |
Matches played | 7183 |
Win rate | 20.53 |
Use rpsrunner.py to play unranked matches on your computer.
run = ""
if input == "":
output = "P"
else:
if not input == "":
run = input
if input == run:
if run == "R":
output = "S"
elif run == "S":
output = "P"
elif run == "P":
output = "R"
else:
output = "P"