Author | cjfaure |
Submission date | 2014-07-28 08:23:41.069220 |
Rating | 5595 |
Matches played | 571 |
Win rate | 56.74 |
Use rpsrunner.py to play unranked matches on your computer.
# antirandom
# by cjfaure
from random import choice
try:
ls.append(input)
except:
ls = []
try:
rs
except:
rs = []
output = "PSR"[len(ls)<1 or "RPS".index(choice(ls))]
rs.append(output)