Author | Logan |
Submission date | 2013-10-03 18:44:54.717406 |
Rating | 3800 |
Matches played | 617 |
Win rate | 40.84 |
Use rpsrunner.py to play unranked matches on your computer.
if (input == ''):
seed = 7
offset = 0
rounds = 0
offsetCounter = 14
m = 7
k = 3
if (rounds % offsetCounter == 0):
offset = offset + 1
offsetCounter = (seed % 14) + 1
seed = ((seed + k) * m) % 31
output = ["R", "P", "S"][(seed + offset) % 3]
rounds = rounds + 1