Author | Bright |
Submission date | 2014-07-07 14:39:27.714830 |
Rating | 3936 |
Matches played | 590 |
Win rate | 45.76 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if input == "":
output = random.choice(["R", "P", "S"])
elif input == "R":
output = "P"
elif input == "P":
output = "S"
elif input == "S":
output = "R"