Author | rdococ |
Submission date | 2015-03-28 03:51:30.658968 |
Rating | 2602 |
Matches played | 561 |
Win rate | 21.03 |
Use rpsrunner.py to play unranked matches on your computer.
import random
output = random.choice(["R", "S", "P"])
if input == "R":
output = "S"
elif input == "S":
output = "P"
elif input == "P":
output = "R"