Author | adasf |
Submission date | 2018-03-07 17:57:28.334210 |
Rating | 3726 |
Matches played | 310 |
Win rate | 34.52 |
Use rpsrunner.py to play unranked matches on your computer.
if input == "":
i = 0
else:
i += 1
if i>99:
i = 0
moves = [1,1,1,2,3,2,3,2,2,1,1,3,3,2,3,2,2,3,3,3,2,2,1,3,1,3,1,2,2,1,1,1,2,3,3,2,1,3,2,2,2,2,3,2,1,3,3,1,2,1,1,2,3,2,1,3,2,1,3,1,2,2,1,3,2,2,3,3,2,1,1,2,3,3,2,3,1,1,2,2,2,3,3,2,3,1,1,2,1,3,1,2,1,3,3,2,3,1,1,2,1,3,1,3,1,2]
name = ["R", "S", "P"]
output = name[moves[i]-1]