Giving up on trying to ignore selective parts of demo directory

This commit is contained in:
D. Joe 2022-07-23 11:21:01 -04:00
parent 4972f28a03
commit 2bc245fd61
2 changed files with 17 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,6 +1,5 @@
games/*
!games/README.md
demo/
#demo
!demo/README.md
!demo/move
!demo/move/*

16
demo/README.md Normal file
View File

@ -0,0 +1,16 @@
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 ..
```