ppp

Authorbob
Submission date2019-11-23 23:25:45.572097
Rating1625
Matches played79
Win rate15.19

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"