Author | MyName |
Submission date | 2013-10-08 10:08:10.055775 |
Rating | 3175 |
Matches played | 636 |
Win rate | 31.13 |
Use rpsrunner.py to play unranked matches on your computer.
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"