diff options
Diffstat (limited to 'tictactoe')
-rwxr-xr-x | tictactoe/listen.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tictactoe/listen.sh b/tictactoe/listen.sh new file mode 100755 index 0000000..4379a3d --- /dev/null +++ b/tictactoe/listen.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +#mabe not. might be buggier. +#cat board p1out | ncat -lp 1050 > p1in & +#cat board p2out | ncat -lp 1051 > p2in & +cat board p1out | ncat -lp 1050 > p1in & +cat board p2out | ncat -lp 1051 > p1in & + +cat p1in | ./game.sh | tee p1out p2out |