This commit is contained in:
Mylloon 2023-03-29 18:43:19 +02:00
parent def372fcc6
commit 2e2de836bd
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -40,11 +40,11 @@ pike run_many_games.pike -f ${PRG_2} -s ${PRG_1} -o ${GAME_DIR} -n ${NB_GAMES_PE
echo " ================"
} > ${GAME_DIR}/resume.txt
STR_WIN1=$(${PRG_1} win)
STR_WIN1=$(printf "%s\n" ${PRG_1} win)
NB_WIN1=$(grep -c "${STR_WIN1}" ${GAME_DIR}/scores.txt)
echo " ${PRG_1} is ${NB_WIN1}" >> ${GAME_DIR}/resume.txt
STR_WIN2=$(${PRG_2} win)
STR_WIN2=$(printf "%s\n" ${PRG_2} win)
NB_WIN2=$(grep -c "${STR_WIN2}" ${GAME_DIR}/scores.txt)
{
echo " ${PRG_2} is ${NB_WIN2}"