From f788bdcf63d14dd97f0802391b0676ca84c900ce Mon Sep 17 00:00:00 2001 From: Peter Ward Date: Tue, 5 Jan 2010 06:56:13 +1100 Subject: Renamed old bots to process bots. --- pyglet_snake.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'pyglet_snake.py') diff --git a/pyglet_snake.py b/pyglet_snake.py index 79ae047..2ef11a8 100755 --- a/pyglet_snake.py +++ b/pyglet_snake.py @@ -109,15 +109,12 @@ class PygletSnakeEngine(SnakeEngine, pyglet.window.Window): if __name__ == '__main__': from bots import random_bounds_bot, random_square_bot - from oldbot import BotWrapper - from peter_bot import peter_bot + from processbot import BotWrapper game = PygletSnakeEngine(25, 25, 50, results=True) -# game.add_bot(random_bounds_bot) -# game.add_bot(random_square_bot) - for i in xrange(0): - game.add_bot(BotWrapper('oldbots/peter.py')) - for i in xrange(1): - game.add_bot(peter_bot) + game.add_bot(random_bounds_bot) + game.add_bot(random_square_bot) + for i in xrange(2): + game.add_bot(BotWrapper('bots/peter.py')) game.run() -- cgit v1.2.3