diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-31 18:10:17 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-31 18:14:55 +0200 |
commit | 1b71192eca047f8d13d6570bb623627389e5acc3 (patch) | |
tree | ccfde3e594f5b2bb17276223a5f29a8f64e8f88c /game_mechanics.txt | |
parent | 50921e339daf8f2c4cae8ab792e97b8a35a90dbe (diff) |
fixed weird problem, wtf
before this change, the bot was always heading to (0,0), instead
of heading towards the next available food. This seems to be related
to world.cells being a defaultdict(Cell) (and not an ordinary dict).
Also, changing the dict index `eater_id` to something nonexistent like
`1`, the bug vanished as well.
Diffstat (limited to 'game_mechanics.txt')
0 files changed, 0 insertions, 0 deletions