From 7b40a364633cca5a5e4d70763012fd033e7bae27 Mon Sep 17 00:00:00 2001 From: Peter Ward Date: Mon, 7 Apr 2014 19:12:37 +1000 Subject: interesting game --- robots/cursesviewer.py | 2 +- simple.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/robots/cursesviewer.py b/robots/cursesviewer.py index bd26ef2..af0b87a 100644 --- a/robots/cursesviewer.py +++ b/robots/cursesviewer.py @@ -67,7 +67,7 @@ class CursesViewer: print(Box.BL + Box.H * width + Box.BR) def run(self): - limiter = rate_limit(4) + limiter = rate_limit(20) for state in self.game: next(limiter) diff --git a/simple.py b/simple.py index 335fa08..45f63fa 100644 --- a/simple.py +++ b/simple.py @@ -126,5 +126,6 @@ if __name__ == '__main__': game = robots.Game(map_) game.add_bot(bot, 'Alice') game.add_bot(bot, 'Bob') + game.add_bot(bot, 'Charlie') viewer = robots.CursesViewer(game) viewer.run() -- cgit v1.2.3