summaryrefslogtreecommitdiff
path: root/pygame_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 /pygame_snake.py
parent62527ef65ec78124f97426ba1e7f44fafe1be134 (diff)
Renamed old bots to process bots.
Diffstat (limited to 'pygame_snake.py')
-rwxr-xr-xpygame_snake.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygame_snake.py b/pygame_snake.py
index 64faf9b..6ee0eeb 100755
--- a/pygame_snake.py
+++ b/pygame_snake.py
@@ -138,7 +138,7 @@ class PygameSnakeEngine(SnakeEngine):
if __name__ == '__main__':
from bots import *
- from oldbot import BotWrapper
+ from processbot import BotWrapper
ROWS = 25
COLUMNS = 25
@@ -150,7 +150,7 @@ if __name__ == '__main__':
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()
game.new_game(ROWS, COLUMNS, APPLES)