summaryrefslogtreecommitdiff
path: root/stats.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-31 18:10:17 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-31 18:14:55 +0200
commit1b71192eca047f8d13d6570bb623627389e5acc3 (patch)
treeccfde3e594f5b2bb17276223a5f29a8f64e8f88c /stats.py
parent50921e339daf8f2c4cae8ab792e97b8a35a90dbe (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 'stats.py')
0 files changed, 0 insertions, 0 deletions