N/A

AuthorExp
Submission date2011-05-26 10:02:37.496471
Rating4669
Matches played7155
Win rate38.41

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

Source code:

if input=="": # initialize variables for the first round
	rockCount = paperCount = scissorsCount = 0
if input == "R":
	output = "P" # paper beats rock
elif input == "P":
	output = "S" # scissors beats paper
else:
	output = "R" # rock beats scissors