-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: hackvr action: commit revision: path_from: revision_from: 978e097ebfb50d70e5e45530cdf0fecc7654c641: path_to: revision_to:
commit 978e097ebfb50d70e5e45530cdf0fecc7654c641 Author: epoch <epoch@hacking.allowed.org> Date: Thu Feb 7 03:06:49 2019 -0600 tictactoe changes likely to get overwritten diff --git a/share/hackvr/examples/tictactoe/game.sh b/share/hackvr/examples/tictactoe/game.sh
--- a/share/hackvr/examples/tictactoe/game.sh +++ b/share/hackvr/examples/tictactoe/game.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash turn=$( expr $RANDOM % 2) -cat camera.pos +cat camera.pos board echo "go. player: $turn" >&2 stdbuf -oL uniq \ | grep --line-buffered action \ diff --git a/share/hackvr/examples/tictactoe/listen.sh b/share/hackvr/examples/tictactoe/listen.sh
--- a/share/hackvr/examples/tictactoe/listen.sh +++ b/share/hackvr/examples/tictactoe/listen.sh @@ -9,8 +9,8 @@ mknod pin p mknod p1out p mknod p2out p -cat board p1out | ncat -lp 1050 > pin & -cat board p2out | ncat -lp 1051 > pin & +cat p1out | ncat -lp 1050 > pin & +cat p2out | ncat -lp 1051 > pin & cat pin | ./game.sh | tee p1out p2out diff --git a/share/hackvr/examples/tictactoe/run b/share/hackvr/examples/tictactoe/run
--- a/share/hackvr/examples/tictactoe/run +++ b/share/hackvr/examples/tictactoe/run @@ -2,5 +2,5 @@ turn=$( expr $RANDOM % 2) echo "go. player: $turn" mknod p p -stdbuf -oL cat board p | hackvr | ./game.sh > p +stdbuf -oL p | hackvr | ./game.sh > p rm p
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 18:29:33 2024