aishowdown/chickenAttack — pull request #8 by entrymissing (2013-08-18 23:47:10+00:00)
Title: BugFix map.py

The previous version checks "self.p1_guys >= quantity" which is always True resulting in a situation where you can move more guys than you actually have. I think it should read:
"self.p1_guys[x][y] >= quantity"

You can check the bug in the original version by editing the orders line in randomplayer.py to
orders[((x, y), random.choice(actions.ALL_ACTIONS))] = num_guys + 1
and run it. It creates a lot of funky output :)