summaryrefslogtreecommitdiff
path: root/examples/chess/run
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2018-03-31 22:20:15 -0500
committerepoch <epoch@hacking.allowed.org>2018-03-31 22:20:15 -0500
commit706561629ee22078fc8e976979f49da397920047 (patch)
treeb5114f51343d030058786723db2a31a8acdb668f /examples/chess/run
parent9e49dcb25e7ccea65948adb07be6206f867b79f5 (diff)
downloadhackvr-706561629ee22078fc8e976979f49da397920047.tar.gz
hackvr-706561629ee22078fc8e976979f49da397920047.zip
added example game of chess that uses gnuchess as backend
Diffstat (limited to 'examples/chess/run')
-rwxr-xr-xexamples/chess/run4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/chess/run b/examples/chess/run
new file mode 100755
index 0000000..4f0cdce
--- /dev/null
+++ b/examples/chess/run
@@ -0,0 +1,4 @@
+#!/bin/bash
+mknod p p
+stdbuf -oL cat camera.pos <(./board.sh) <(cat p | ./gnuchess-to-hackvr.sh) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p
+rm p