George

Authorrdococ
Submission date2015-03-28 12:25:31.933620
Rating5345
Matches played506
Win rate52.77

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

Source code:

import random
output = random.choice(["R", "S", "P"])
if input == "":
	history = []
	guess = ""
else:
	history = [input] + history
	guess = history[random.choice([3, 6, 9, 12]) % len(history)]
if guess == "R":
	output = "P"
elif guess == "S":
	output = "R"
elif guess == "P":
	output = "S"