Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/simulator/demo/others.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-10-09 16:03:35 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-10-09 16:03:35 (GMT)
commitc9b5381c16fce563307379aa8b52a5b902a7cc98 (patch)
tree20cfb956408f4f99dfac620c45ab0adaa3d61d10 /tests/simulator/demo/others.py
parent386dbe71232110c8177ab1833f77f42c32c85283 (diff)
Add a list of names to pick from. Refactor a bit to allow different simulator stages.
Create a bunch of random bots.
Diffstat (limited to 'tests/simulator/demo/others.py')
-rw-r--r--tests/simulator/demo/others.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/simulator/demo/others.py b/tests/simulator/demo/others.py
new file mode 100644
index 0000000..3b1218f
--- /dev/null
+++ b/tests/simulator/demo/others.py
@@ -0,0 +1,5 @@
+from sugar.simulator import Bot
+
+for i in range(0, 10):
+ bot = Bot()
+ bot.start()