carykh/PrisonersDilemmaTournament

One-line strategy for amusement (possible bug?)

t1m0thyj opened this issue · 1 comments

Not submitting this as it obviously cheats the system, but I discovered that this simple code handily beats all the sample strategies:

def strategy(history, memory): return -2, None

Oops! That is a pretty glaring mistake I made. Yeah, strategies should only be allowed to return 0, 1, or the string-equivalent versions of those. I'll fix this very soon