Lazy 2

AuthorVaran
Submission date2011-06-09 09:40:07.648450
Rating2858
Matches played5449
Win rate30.19

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

Source code:

if input == "":
	choices = [('R', 0), ('P', 0), ('S', 0)]

choices = sorted(choices, key=lambda choice: choice[1])

choices[0] = (choices[0][0], choices[0][1] + 1)

output = choices[0][0];