make ai2 configurable
parent
0030b436d3
commit
dfc2ea84d2
3
Makefile
3
Makefile
|
@ -180,12 +180,13 @@ games ?= 10000
|
||||||
str1 ?= 1
|
str1 ?= 1
|
||||||
str2 ?= 1
|
str2 ?= 1
|
||||||
life ?= 10
|
life ?= 10
|
||||||
|
ai2 ?= MMAB2
|
||||||
%.t: $(MAG)
|
%.t: $(MAG)
|
||||||
echo `hg id -n` > $*.log
|
echo `hg id -n` > $*.log
|
||||||
$(JAVA) -Dmagarena.dir=`pwd`/release magic.DeckStrCal \
|
$(JAVA) -Dmagarena.dir=`pwd`/release magic.DeckStrCal \
|
||||||
--seed $* \
|
--seed $* \
|
||||||
--ai1 MMABC --str1 ${str1} \
|
--ai1 MMABC --str1 ${str1} \
|
||||||
--ai2 MMAB2 --str2 ${str2} \
|
--ai2 ${ai2} --str2 ${str2} \
|
||||||
--life ${life} \
|
--life ${life} \
|
||||||
--games 1 \
|
--games 1 \
|
||||||
--repeat ${games} >> $*.log 2>&1
|
--repeat ${games} >> $*.log 2>&1
|
||||||
|
|
Loading…
Reference in New Issue