probably not very not weaker than strong

AuthorEbTech
Submission date2011-05-22 05:36:34.128772
Rating3835
Matches played7531
Win rate37.47

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

Source code:

import random
if not input:
	lloutput = loutput = output = 'P'
else:
        lloutput = loutput
        loutput = input
	if fakeinput == {'R':'P','P':'S','S':'R'}[lloutput]:
		output = {'R':'R','P':'P','S':'S'}[loutput]
	elif fakeinput == {'R':'S','P':'R','S':'P'}[lloutput]:
		output = {'R':'P','P':'S','S':'R'}[loutput]
	elif fakeinput == {'R':'R','P':'P','S':'S'}[lloutput]:
		output = {'R':'S','P':'R','S':'P'}[loutput]
fakeinput = output