Author | AntiDog |
Submission date | 2018-08-07 12:01:04.906260 |
Rating | 4432 |
Matches played | 265 |
Win rate | 44.91 |
Use rpsrunner.py to play unranked matches on your computer.
import random
moves = {"S":"R","P":"S","R":"P"}
if input == "":
i = 0
else:
i +=1
if i > 9:
output = "R"
elif i > 6:
output = "P"
elif i > 3:
output = "S"
else:
output = random.choice(["R","P","S"])
i = 0