Author | stupid_coder |
Submission date | 2016-02-08 13:21:10.671038 |
Rating | 3046 |
Matches played | 411 |
Win rate | 28.47 |
Use rpsrunner.py to play unranked matches on your computer.
#true power of stupid random
if not input:
import time
rvalue = int(time.time()*13)
n = 10
seed1 = 17
seed2 = 37
maxr = 127437957
vars = "RSP"
def r():
global rvalue
rvalue = ((rvalue * seed1)+seed2)% maxr
return vars[rvalue%3]
if not input:
score = 0
prev_move = r()
output=prev_move