:: run corewar hill - everyone plays everyone including self :: set to 100 rounds fixed sequence, 800-coresize specs :: operates on *.red files in current dir :: writes pmars score results to hill.out :: runs scorelog.bat to score results when done :: modified to use new scorelog 3rd parm to avoid :: over-scoring self battles @echo off if .%1==.sub goto %1%2 set pmarscl=pmars -b -l 20 -d 20 -s 800 -p 800 -c 8000 -r 100 -f if exist hill.out del hill.out if exist results.txt del results.txt echo Running hill... do not press any keys... for %%a in (*.red) do call %0 sub 1 %%a del battle.tmp call scorelog.bat hill.out results.txt x cls goto end :sub1 for %%b in (*.red) do call %0 sub 2 %3 %%b goto end :sub2 %pmarscl% %3 %4 > battle.tmp type battle.tmp type battle.tmp >> hill.out :end