xdert

Authordvsv
Submission date2017-03-21 15:48:10.726439
Rating4290
Matches played374
Win rate37.97

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

Source code:

import random

if input == "": #is important
	rockCount = paperCount = scissorsCount = 0
elif input == "R":
	rockCount += 1
elif input == "P":
	paperCount += 1
elif input == "S":
	scissorsCount += 1

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