>>><</|_|\>><<<

Authorbob
Submission date2019-11-24 17:37:48.974470
Rating2151
Matches played79
Win rate17.72

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

Source code:

if input == "": # initialize variables for the first round
	l= 0
        output="R"
elif input == "R" and output=="S":
	l += 1
elif input == "P" and output=="R":
	l += 1
elif input == "S" and output=="R":
	l += 1
if l==2:
        output = "P" # paper beats rock
elif l==4:
	output = "S" # scissors beats paper
else:
	output = "R" # rock beats scissors
        l=0