diff options
author | Peter Ward <peteraward@gmail.com> | 2009-09-28 12:17:22 +1000 |
---|---|---|
committer | Peter Ward <peteraward@gmail.com> | 2009-09-28 12:17:22 +1000 |
commit | bc47a4c3efe6006b42f1a4925a0994dc3e5093d1 (patch) | |
tree | 512d42921a570a2a31b5b54a3a11ba3f09f9e11f /snake.py | |
parent | 84c620ce93dbb9da9fc2328c13b8a48316641d4a (diff) |
Added a compatibility layer for Gregsnakebots.
Diffstat (limited to 'snake.py')
-rwxr-xr-x | snake.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -235,13 +235,13 @@ class SnakeEngine(object): if __name__ == '__main__': from bots import * - from peter import * + from oldbot import BotWrapper game = SnakeEngine(25, 25, 50) game.add_bot(right_bot) game.add_bot(random_bot) game.add_bot(random_bounds_bot) game.add_bot(random_square_bot) - game.add_bot(peter_bot) + game.add_bot(BotWrapper('oldbots/peter.py')) game.run() |