rndbeat-bold

Authorpyfex
Submission date2011-06-12 21:54:07.566457
Rating3322
Matches played5347
Win rate34.37

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

Source code:

import random

if input == "":
  random.seed()
  r = random.random()
  played = []
  output = 'S'
else:
  random.seed(r)
  played.append(input)
  expected = random.choice(played)
  output = {'P': 'S', 'R': 'P', 'S':'R'}[expected]

random.seed(16)