Asan

AuthorWild_Chan
Submission date2014-05-01 05:49:34.700552
Rating4218
Matches played609
Win rate41.38

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

Source code:

import random
winners = {'P': 'S', 'R': 'P', 'S': 'R'}
if input == '':
	i = 0
	output = random.choice(['R', 'P', 'S'])
else:
	output = winners[input]