SimpleBot

AuthorNickMass
Submission date2011-06-17 05:18:35.419265
Rating3019
Matches played5460
Win rate30.75

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

Source code:

import random
if input == "":
 lastchoice = " "
 lastlastchoice = " "
 output = random.choice(["R","P","S"])
else:
 lastlastchoice = lastchoice
 lastchoice = input
 if lastlastchoice == " ":
  output = random.choice(["R","P","S"])
 else:
  output = lastlastchoice