Author | kkjj |
Submission date | 2011-06-09 08:56:20.083225 |
Rating | 2259 |
Matches played | 5266 |
Win rate | 17.96 |
Use rpsrunner.py to play unranked matches on your computer.
if input == "": # initialize variables for the first round
output = "R"
elif input == "R":
output = "S"
elif input == "P":
output = "R"
elif input == "S":
output = "P"