nyan

Authorcat
Submission date2017-02-12 07:54:20.926607
Rating3418
Matches played361
Win rate33.24

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"