summaryrefslogtreecommitdiff
path: root/tictactoe/run
diff options
context:
space:
mode:
Diffstat (limited to 'tictactoe/run')
-rwxr-xr-xtictactoe/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/tictactoe/run b/tictactoe/run
index c38c9cc..f470780 100755
--- a/tictactoe/run
+++ b/tictactoe/run
@@ -1,4 +1,6 @@
#!/bin/bash
turn=$( expr $RANDOM % 2)
echo "go. player: $turn"
+mknod p p
stdbuf -oL cat board p | ../src/hackvr_x11 "$USER" | ./game.sh > p
+rm p