Author | JSoffer |
Submission date | 2011-05-30 00:44:37.299338 |
Rating | 2193 |
Matches played | 6739 |
Win rate | 19.6 |
Use rpsrunner.py to play unranked matches on your computer.
x = 558273
def semilla(n): global x; x = n
def alea():
global x
x = x * 1103515245 + 12345
return ((x >> 16) % 32768) % 3
output = ['R', 'P', 'S'][alea()]