Author | hahasee |
Submission date | 2011-06-11 01:04:17.780904 |
Rating | 2523 |
Matches played | 5362 |
Win rate | 26.86 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if input == "":
count = 0
output = random.choice(["R","P","S"])
else:
if count % 5 == 0:
output = random.choice(["R","P","S"])
count = 0
count = count + 1
output = input