1 2 3 4
#!/usr/bin/env bash turn=$( expr $RANDOM % 2) echo "# go. player: $turn" >&2 hackvr_coproc ./game.sh