#!/usr/bin/python2.5
'''PythonSampleAgents.py
-An areana that runs the sample bots in python.
+An arena that runs the sample bots in python.
Written by Daniel Axtens <
[email protected]> for the UCC Programming Competition in 2010.
Licensed under an MIT-style license: see the LICENSE file for details.
from SampleAgents import Angel, Lucifer, Dummy, Wash, Streetfighter
-
-# Import and add your agents here:
class arena:
Agents = [Angel,Lucifer,Streetfighter,Wash]
# How many iterations to run before quitting.
MAX_ITERATIONS = 1000
-# How many of each agent to create initially.
+# How many of each agent to create initially. (or use -n)
STARTING_POPULATION = 10
-# ???
+# Number of times the simulation is run. (or use -t)
TRIALS = 1
# How much health to give each agent on birth.
# The age at which to kill any agent.
MAX_AGE = 100
-
-# Cap the number of agents:
+# Cap the number of agents (set to 0 to disable)
MAX_TOTAL_AGENTS = 255
# Game dynamics: