Author | James Blaha |
Submission date | 2011-06-09 09:43:16.519670 |
Rating | 2944 |
Matches played | 5326 |
Win rate | 24.45 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if input == "": # initialize variables for the first round
count = 0
elif input != "":
count += 1
if count < 700:
output = random.choice(["R","P"])
elif count > 699:
output = "S"