Author | James H |
Submission date | 2019-03-13 23:50:43.451993 |
Rating | 4768 |
Matches played | 246 |
Win rate | 48.37 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if input == "":
output = random.choice("RPS")
last = output
else:
last, second_last = input, last
output = random.choice("RPS" + second_last)