format-patch-ttt/demo/HOWTO-git.md

330 B

The move directory gives a complete demonstration game, one move per file.

An entire example game repository can then be build from these moves:

mkdir git
cd git
git init
for i in ../move/*; do \
 echo cp $i board \; \
 git add board \; \
 git commit -m \
  \""Applying move #" $(basename $i .md)\"; \
done | sh
cd ..