summaryrefslogtreecommitdiff
path: root/snake.py
diff options
context:
space:
mode:
Diffstat (limited to 'snake.py')
-rwxr-xr-xsnake.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/snake.py b/snake.py
index f0bf46b..46f7db2 100755
--- a/snake.py
+++ b/snake.py
@@ -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()