ppp

Authorbob
Submission date2019-11-23 23:25:45.572097
Rating1988
Matches played211
Win rate19.43

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

Source code:

output=""
if output=="":
	rockCount = paperCount = scissorsCount = 0
elif output == "R":
	rockCount += 1
elif output == "P":
	paperCount += 1
elif output == "S":
	scissorsCount += 1
if rockCount == paperCount == scissorsCount:
	output="R"
elif rockCount > paperCount:
	output="P"
else:
	output="S"