SHAman256-57p

AuthorRyanC
Submission date2012-10-05 00:55:55.593922
Rating5770
Matches played743
Win rate59.35

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]