Probably not very strong 3.2

Authordllu
Submission date2011-05-22 01:55:48.829977
Rating4448
Matches played7330
Win rate38.59

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

Source code:

import random
if not input:
	lloutput = 'R'
	loutput = output = 'R'
	num = 0;
else:
	if num<3:
		output = 'R'
		num+=1;
	elif input == {'R':'P','P':'S','S':'R'}[lloutput]:
		output = {'R':'S','P':'R','S':'P'}[loutput]
	elif input == {'R':'S','P':'R','S':'P'}[lloutput]:
		output = {'R':'R','P':'P','S':'S'}[loutput]
	elif input == {'R':'R','P':'P','S':'S'}[lloutput]:
		output = {'R':'P','P':'S','S':'R'}[loutput]
lloutput = loutput
loutput = output