MyProgram

AuthorMyName
Submission date2013-10-08 10:08:10.055775
Rating3175
Matches played636
Win rate31.13

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

Source code:

if input == "":
    previous = "S"
    output = "S"
if input == "S":
    output = "R"
if input == "R":
    output = "P"
if input == "P":
    output = "S"
if input == "S" and previous == "S":
    output = "S"
if input == "R" and previous == "R":
    output = "R"
if input == "P" and previous == "P":
    output = "P"