AI for the 4 man standoff on codegolf stackexchange http://codegolf.stackexchange.com/questions/35988/four-man-standoff/36081#36081