tit-for-tat

Authorhahasee
Submission date2011-06-10 23:20:58.303940
Rating2657
Matches played5163
Win rate27.12

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

Source code:

import random

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