Are you easy too

AuthorShawn
Submission date2011-06-10 20:40:32.658953
Rating2188
Matches played5492
Win rate17.99

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

Source code:

import random;

if input == "": # initialize variables for the first round
	count = 0;


if count % 2 == 0:

	if input == "R":
		output = "S";
	elif input == "P":
		output = "R";
	elif input == "S":
		output = "P";
	else:
		output = random.choice(["R","P","S"]);

else:
	count += 1;
	output = random.choice(["R","P","S"]);