Predictfail

AuthorFerior
Submission date2011-05-26 15:29:15.581910
Rating1942
Matches played7183
Win rate20.53

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

Source code:

run = ""

if input == "":
    output = "P"
else:
    if not input == "":
        run = input

    if input == run:
        if run == "R":
            output = "S"
        elif run == "S":
            output = "P"
        elif run == "P":
            output = "R"
    else:
        output = "P"