copy_kitty

AuthorJames H
Submission date2019-03-13 23:50:43.451993
Rating4768
Matches played246
Win rate48.37

Use rpsrunner.py to play unranked matches on your computer.

Source code:

import random

if input == "":
    output = random.choice("RPS")
    last = output
else:
   last, second_last = input, last
   output = random.choice("RPS" + second_last)