Test Program 2

AuthorAntiProgram
Submission date2011-10-18 00:51:21.644171
Rating4994
Matches played1422
Win rate48.1

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

Source code:

import random
if input ==  "":
    output = "R"
    n = 0
elif input == "P":
    output = random.choice(["R","P","S"])
elif input == "S":
    output = "SPPSP"
    output = random.choice(["R","P","S"])
elif input == "R":
    output = random.choice(["R","P","S"])