Compare commits

...

4 Commits

Author SHA1 Message Date
D. Joe e4ccf24544 Add complete demonstration game, one move per file.
A normal game will have all moves applied to board.md

It would use commits rather than files to represent each move

This demonstration game allows an automated creation of an example game.
2022-07-23 11:21:15 -04:00
D. Joe 2bc245fd61 Giving up on trying to ignore selective parts of demo directory 2022-07-23 11:21:01 -04:00
D. Joe 4972f28a03 Remove cached version of demo 2022-07-23 11:18:30 -04:00
D. Joe f2a4551dd8 Still trying to unignore some things selectively 2022-07-23 11:16:37 -04:00
13 changed files with 98 additions and 3 deletions

4
.gitignore vendored
View File

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

1
demo

@ -1 +0,0 @@
Subproject commit d4e799c98c9175f7e880d97b8a0315ed0709c818

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 ..
```

8
demo/move/0.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3| | | |
|2| | | |
|1| | | |
+-+-+-+-+
```

8
demo/move/1.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X| | |
|2| | | |
|1| | | |
+-+-+-+-+
```

8
demo/move/2.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X| | |
|2| |O| |
|1| | | |
+-+-+-+-+
```

8
demo/move/3.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X| | |
|2| |O| |
|1| | |X|
+-+-+-+-+
```

8
demo/move/4.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X| | |
|2| |O| |
|1|O| |X|
+-+-+-+-+
```

8
demo/move/5.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X| |X|
|2| |O| |
|1|O| |X|
+-+-+-+-+
```

8
demo/move/6.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X|O|X|
|2| |O| |
|1|O| |X|
+-+-+-+-+
```

8
demo/move/7.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X|O|X|
|2| |O| |
|1|O|X|X|
+-+-+-+-+
```

8
demo/move/8.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X|O|X|
|2| |O|O|
|1|O|X|X|
+-+-+-+-+
```

8
demo/move/9.md Normal file
View File

@ -0,0 +1,8 @@
```
| |A|B|C|
+-+-+-+-+
|3|X|O|X|
|2|X|O|O|
|1|O|X|X|
+-+-+-+-+
```