Files
sol_chess/tools/puzzle_checker/gen_games.sh
T
2025-01-27 00:24:28 +05:30

10 lines
202 B
Bash
Executable File

if [ ! -d games ]; then
mkdir games
fi
for i in {1..10}; do
echo "*********** Game $i ************" >> games/$i.txt
echo "" >> games/$i.txt
sol_cli -g -n 7 --print >> games/$i.txt
done