summaryrefslogtreecommitdiff
path: root/console_snake.py
diff options
context:
space:
mode:
authorPeter Ward <pwar3236@usyd.edu.au>2010-01-05 06:56:13 +1100
committerPeter Ward <pwar3236@usyd.edu.au>2010-01-05 06:56:13 +1100
commitf788bdcf63d14dd97f0802391b0676ca84c900ce (patch)
tree9d98fbf8ef0ab30ee573fadf9eeff4cf723feb25 /console_snake.py
parent62527ef65ec78124f97426ba1e7f44fafe1be134 (diff)
Renamed old bots to process bots.
Diffstat (limited to 'console_snake.py')
-rwxr-xr-xconsole_snake.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/console_snake.py b/console_snake.py
index 8c327e5..3c40b24 100755
--- a/console_snake.py
+++ b/console_snake.py
@@ -59,14 +59,14 @@ class ConsoleSnakeEngine(SnakeEngine):
def main(*args):
from bots import *
- from oldbot import BotWrapper
+ from processbot import BotWrapper
game = ConsoleSnakeEngine(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(BotWrapper('oldbots/peter.py'))
+ game.add_bot(BotWrapper('bots/peter.py'))
game.run()
if __name__ == '__main__':