
CUTECHESS_CLI=$HOME/Documents/echecs/sources/cutechess/1_5_1/build/cutechess-cli

DIR=sankit-minimal-engine/E

pushd $DIR
make
popd

rm -f tournoi.err
rm -f tournoi.log
rm -f tournoi.pgn

$CUTECHESS_CLI \
-rounds 64 \
-engine name="SME-E" cmd=./xboard-engine dir=$DIR proto=xboard \
-engine name="SME-C (eat)" cmd=./xboard-engine dir=sankit-minimal-engine/C proto=xboard \
-engine name="SME-C (gtp)" cmd=./xboard-engine arg=gtp dir=sankit-minimal-engine/C proto=xboard \
-engine name="SME-C (ran)" cmd=./xboard-engine arg=ran dir=sankit-minimal-engine/C proto=xboard \
-engine name="SME-C (sc0)" cmd=./xboard-engine arg=sc0 dir=sankit-minimal-engine/C proto=xboard \
-engine name="SME-C (sc1)" cmd=./xboard-engine arg=sc1 dir=sankit-minimal-engine/C proto=xboard \
-debug all \
-pgnout tournoi.pgn \
-each tc=40/30 \
-wait 100 2>> tournoi.err | tee tournoi.log

exit 0

-tournament gauntlet \
-debug all \
-openings file=book/gaviota-starters.pgn plies=4 order=random \
-each tc=40/30 option.Threads=1 \

-engine conf="Micro-Max 4.4" \
-engine conf="SamChess RC 0.1" \
-engine conf="CookieCat 2012.10.10" \
-engine conf="Hopeless 0.49.0.5" \
-engine conf="Micro-Max 4.8" \
-engine conf="Needle 0.53.1 RC 0.1" \
-engine conf="Durandal 0.1.2 Random" \
-engine conf="Micro-Max 1.6" \
-engine conf="CT800 1.12" \
-engine conf="MSCP 1.4" \
-engine conf="Zeppelin 0.2.0" \
-engine name="Scidlet 4.23" cmd="./scidlet" dir="$HOME/Documents/echecs/sources/scidvspc/4_23" proto=xboard \
-engine conf="Monchester 1.0.1" \
-engine conf="Alouette 0.1.8" \
