Author | hahasee |
Submission date | 2011-06-10 23:04:27.618945 |
Rating | 2439 |
Matches played | 5539 |
Win rate | 21.54 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if input == "R":
output == "R"
elif input == "P":
output == "P"
else:
output = random.choice(["R", "P", "S"])