diff options
author | Peter Ward <peteraward@gmail.com> | 2014-04-07 19:12:37 +1000 |
---|---|---|
committer | Peter Ward <peteraward@gmail.com> | 2014-04-07 19:12:37 +1000 |
commit | 7b40a364633cca5a5e4d70763012fd033e7bae27 (patch) | |
tree | b0e04cf33e4aebcfa25ebf36ecd9418e612898af | |
parent | 6bb1f8432bc5c9b854e7a3aedcedaec47e84a30f (diff) |
interesting game
-rw-r--r-- | robots/cursesviewer.py | 2 | ||||
-rw-r--r-- | simple.py | 1 |
2 files changed, 2 insertions, 1 deletions
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) @@ -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() |