make ai2 configurable

master
melvin 2013-03-24 20:12:22 +08:00
parent 0030b436d3
commit dfc2ea84d2
1 changed files with 2 additions and 1 deletions

View File

@ -180,12 +180,13 @@ games ?= 10000
str1 ?= 1
str2 ?= 1
life ?= 10
ai2 ?= MMAB2
%.t: $(MAG)
echo `hg id -n` > $*.log
$(JAVA) -Dmagarena.dir=`pwd`/release magic.DeckStrCal \
--seed $* \
--ai1 MMABC --str1 ${str1} \
--ai2 MMAB2 --str2 ${str2} \
--ai2 ${ai2} --str2 ${str2} \
--life ${life} \
--games 1 \
--repeat ${games} >> $*.log 2>&1