hail_random_true

Authorstupid_coder
Submission date2016-02-08 13:21:10.671038
Rating3046
Matches played411
Win rate28.47

Use rpsrunner.py to play unranked matches on your computer.

Source code:

#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