Seppl

This program has been disqualified.


AuthorAntiDog
Submission date2018-08-07 10:01:41.081100
Rating4588
Matches played1
Win rate0.0

Source code:

import random

moves = {"S":"P","P":"R","R":"P"}

output = random.choice(["R","P","S"])

if input is None:
  output = random.choice(["R","P","S"])
else:
  if (len(input)+random.choice([0,1,2])) % 3 == 0:
     output = random.choice(["R","P","S"])
  else:
    last = input[len(input)-2]
    output = moves[last]