diff options
author | epoch <epoch@hacking.allowed.org> | 2018-03-29 19:48:58 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2018-03-29 19:48:58 -0500 |
commit | 9e49dcb25e7ccea65948adb07be6206f867b79f5 (patch) | |
tree | fffcb9db8d1aa001696dccfdbee0fe75f14c3c5e /examples/tictactoe/run | |
parent | bd406f6b15bc13861d235615fac3c7cbfee31a76 (diff) | |
download | hackvr-9e49dcb25e7ccea65948adb07be6206f867b79f5.tar.gz hackvr-9e49dcb25e7ccea65948adb07be6206f867b79f5.zip |
moved tictactoe and made the reset button not move user back to default position
Diffstat (limited to 'examples/tictactoe/run')
-rwxr-xr-x | examples/tictactoe/run | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/tictactoe/run b/examples/tictactoe/run new file mode 100755 index 0000000..8dddc99 --- /dev/null +++ b/examples/tictactoe/run @@ -0,0 +1,6 @@ +#!/bin/bash +turn=$( expr $RANDOM % 2) +echo "go. player: $turn" +mknod p p +stdbuf -oL cat board p | hackvr "$USER" | ./game.sh > p +rm p |