nyan

Authorcat
Submission date2017-02-12 07:54:20.926607
Rating3303
Matches played209
Win rate31.1

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

Source code:

if input == "":
	r = p = s = 0

elif input == "R":
	r += 1
elif input == "P":
	p += 1
elif input == "S":
	s += 1

if r > p and r > s:
	output = "P"
elif p > s:
	output = "S"
else:
	output = "R"