hail_random

Authorstupid
Submission date2016-02-08 13:20:37.524727
Rating5251
Matches played419
Win rate52.27

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 = 127481957

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