summaryrefslogtreecommitdiff
path: root/tictactoe/listen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tictactoe/listen.sh')
-rwxr-xr-xtictactoe/listen.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/tictactoe/listen.sh b/tictactoe/listen.sh
deleted file mode 100755
index 0318cd2..0000000
--- a/tictactoe/listen.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-#mabe not. might be buggier.
-#cat board p1out | ncat -lp 1050 > p1in &
-#cat board p2out | ncat -lp 1051 > p2in &
-echo listening in port 1050 for player 1 and 1051 for player 2
-
-mknod pin p
-mknod p1out p
-mknod p2out p
-
-cat board p1out | ncat -lp 1050 > pin &
-cat board p2out | ncat -lp 1051 > pin &
-
-cat pin | ./game.sh | tee p1out p2out
-
-rm pin
-rm p1out
-rm p2out