#!/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