At run time the main function can be passed the name of a configuration file to
use. If none is provided a simple default one will be used. The configuration
files are XML based and contain all the set-up data for a game.
The Python utility: RoboTourney.py reads and edits these files via a GUI. It
can also launch the tournament
<?xml version="1.0" ?>
<RoboConfigData roborootdir="d:\mysoftware\zbotwar">
<RoboConfigDatarelease roborootdir=".\" />
<xporter ipaddr="127.0.0.1" port="5002" rcv="OFF"
send="OFF" />
<gameparams endofround="AtFirstElim" numberofrounds="10"
numprograms="8" startenergy="60" timelimit="30000" tourneytype="Evolve" />
<robomap file="maps\WideOpen.xml" ipaddr="127.0.0.1"
port="5001" maptype="PYTHON" />
<robomapexe glfile="..\OpenGLmap\Release\OpenGLmap.exe"
pyfile="RoboMapIface.py" />
<robots cloning="ON" hitpoints="2" lifespan="600"
maxrobots="250" shooting="ON" />
<RoboTrace id="0" max_file_size="600"
status="OFF">RoboTrace.txt</RoboTrace>
<robotfile>robots\newrobot3.txt</robotfile>
<robotfile>robots\Random</robotfile>
<robotfile>robots\Random</robotfile>
<robotfile>robots\Random</robotfile>
<robotfile>robots\Random</robotfile>
<robotfile>robots\Random</robotfile>
<robotfile>robots\Random</robotfile>
<robotfile>robots\Random</robotfile>
<evolution bestbot="ON" genesize="32" genesizefixed="ON"
intrateam="ON" mutationrate="4" sexual="NOP_XOVER" status="ON" />
<evolution bestbot="ON" genesize="32" genesizefixed="ON"
intrateam="OFF" mutationrate="4" sexual="NOP_XOVER" status="ON" />
<evolution bestbot="ON" genesize="32" genesizefixed="ON"
intrateam="OFF" mutationrate="4" sexual="NOP_XOVER" status="ON" />
<evolution bestbot="OFF" genesize="32" genesizefixed="ON"
intrateam="ON" mutationrate="4" sexual="NOP_XOVER" status="ON" />
<evolution bestbot="ON" genesize="32" genesizefixed="ON"
intrateam="OFF" mutationrate="4" sexual="FIXED_XOVER" status="OFF" />
<evolution bestbot="OFF" genesize="32" genesizefixed="ON"
intrateam="ON" mutationrate="4" sexual="NOP_XOVER" status="OFF" />
<evolution bestbot="ON" genesize="32" genesizefixed="ON"
intrateam="OFF" mutationrate="4" sexual="FIXED_XOVER" status="ON" />
<evolution bestbot="OFF" genesize="32" genesizefixed="ON"
intrateam="ON" mutationrate="4" sexual="NOP_XOVER" status="ON" />
</RoboConfigData>