sponge1

Authorwaveman
Submission date2015-03-31 14:32:11.010846
Rating3135
Matches played470
Win rate28.94

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

Source code:

# Your submission name here. This must be unique. If it is already taken, then you will have to choose another one.
if input == "":
    output = "P"
    move = "R"
lastMove =move
move = input

if move == "R":
    if lastMove == "R":
        output = "R"
    elif lastMove =="S":
        output = "P"   
    output = "P"
if input == "P":
    output = "P"
if input == "S":
    output = "S"