Author | ilia10000 |
Submission date | 2012-08-22 18:58:28.863093 |
Rating | 3874 |
Matches played | 772 |
Win rate | 40.28 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if input == "":
output=""
if output=="":
output = random.choice(["R","P","S"])
elif output== "R":
output = random.choice(["P","S"])
elif output== "P":
output = random.choice(["R","S"])
elif output== "S":
output = random.choice(["P","R"])