| Author | Jay_jayjay |
| Submission date | 2019-11-17 19:33:00.234590 |
| Rating | 6225 |
| Matches played | 218 |
| Win rate | 61.47 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if not input:
output=random.choice("RPS")
history=""
win = {"R": "P", "P": "S", "S":"R"}
else:
history+=input
output=win[random.choice(list(history))]