#!/usr/bin/env bash turn=$( expr $RANDOM % 2) echo "go. player: $turn" mknod p p stdbuf -oL p | hackvr | ./game.sh > p rm p