summaryrefslogtreecommitdiff
path: root/tictactoe/run
blob: c38c9cc56385cdfbfc726de4b672dba0de743e32 (plain) (blame)
1
2
3
4
#!/bin/bash
turn=$( expr $RANDOM % 2)
echo "go. player: $turn"
stdbuf -oL cat board p | ../src/hackvr_x11 "$USER" | ./game.sh > p