SHAman256-57p

AuthorRyanC
Submission date2012-10-05 00:55:55.593922
Rating6170
Matches played408
Win rate62.01

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

Source code:

from hashlib import sha256

# The constant used here came to me in a dream.
state = input and state + input or 'e+4sk5jfPPON3muIQJPM-KBCJPyYHgkkgXgpprL2'
output = 'RPS'[int(sha256(state).hexdigest(),16)%3]