diff options
author | epoch <epoch@hacking.allowed.org> | 2018-03-31 22:20:15 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2018-03-31 22:20:15 -0500 |
commit | 706561629ee22078fc8e976979f49da397920047 (patch) | |
tree | b5114f51343d030058786723db2a31a8acdb668f /examples/chess/pieces | |
parent | 9e49dcb25e7ccea65948adb07be6206f867b79f5 (diff) | |
download | hackvr-706561629ee22078fc8e976979f49da397920047.tar.gz hackvr-706561629ee22078fc8e976979f49da397920047.zip |
added example game of chess that uses gnuchess as backend
Diffstat (limited to 'examples/chess/pieces')
-rw-r--r-- | examples/chess/pieces/bishop | 2 | ||||
-rw-r--r-- | examples/chess/pieces/king | 2 | ||||
-rw-r--r-- | examples/chess/pieces/knight | 2 | ||||
-rw-r--r-- | examples/chess/pieces/pawn | 1 | ||||
-rw-r--r-- | examples/chess/pieces/queen | 1 | ||||
-rw-r--r-- | examples/chess/pieces/rook | 1 |
6 files changed, 9 insertions, 0 deletions
diff --git a/examples/chess/pieces/bishop b/examples/chess/pieces/bishop new file mode 100644 index 0000000..db6f144 --- /dev/null +++ b/examples/chess/pieces/bishop @@ -0,0 +1,2 @@ +rook addshape 4 4 .4 .1 0 .6 .1 0 .6 .9 0 .4 .9 0 +rook addshape 4 4 .3 .6 0 .7 .6 0 .7 .8 0 .3 .8 0 diff --git a/examples/chess/pieces/king b/examples/chess/pieces/king new file mode 100644 index 0000000..8ca79ef --- /dev/null +++ b/examples/chess/pieces/king @@ -0,0 +1,2 @@ +king addshape 4 4 .1 .7 0 .3 .9 0 .9 .3 0 .7 .1 0 +king addshape 4 4 .3 .1 0 .9 .7 0 .7 .9 0 .1 .3 0 diff --git a/examples/chess/pieces/knight b/examples/chess/pieces/knight new file mode 100644 index 0000000..adc7f53 --- /dev/null +++ b/examples/chess/pieces/knight @@ -0,0 +1,2 @@ +knight addshape 4 4 .1 .1 0 .3 .1 0 .3 .9 0 .1 .9 0 +knight addshape 4 4 .1 .1 0 .9 .1 0 .9 .3 0 .1 .3 0 diff --git a/examples/chess/pieces/pawn b/examples/chess/pieces/pawn new file mode 100644 index 0000000..d7d2d29 --- /dev/null +++ b/examples/chess/pieces/pawn @@ -0,0 +1 @@ +pawn addshape 4 3 .2 .1 0 .8 .1 0 .5 .5 0 diff --git a/examples/chess/pieces/queen b/examples/chess/pieces/queen new file mode 100644 index 0000000..3ebb4ab --- /dev/null +++ b/examples/chess/pieces/queen @@ -0,0 +1 @@ +pawn addshape 4 3 .2 .1 0 .8 .1 0 .5 .9 0 diff --git a/examples/chess/pieces/rook b/examples/chess/pieces/rook new file mode 100644 index 0000000..2550eb5 --- /dev/null +++ b/examples/chess/pieces/rook @@ -0,0 +1 @@ +rook addshape 4 4 .4 .1 0 .6 .1 0 .6 .9 0 .4 .9 0 |