jjj

Authorjjj
Submission date2012-08-22 18:40:59.478796
Rating4881
Matches played755
Win rate47.15

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

Source code:

import random
previous = ""
if previous == "":
      output = random.choice(["R","P","S"])
      previous = output
elif previous == "R":
      output = random.choice(["P","S"])
      previous = output
elif previous == "P":
      output = random.choice(["R","S"])
      previous = output
elif previous == "S":
      output = random.choice(["P","R"])
      previous = output