-- 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:

git.thebackupbox.net

hackvr

git://git.thebackupbox.net/hackvr

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

index 8c741fceb2a98403b19a05df5a53a6929c61877d..

index ..0ad81f932c764e28013d256d36d3c39d5fcbb5e0 100755

--- 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

index 0318cd2e27c4be98bbbc436d2afb3ddf006a96ed..

index ..b98fe37f2f9d231078885068e850914f5992c09a 100755

--- 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

index 0f14b8f8ce55f6c29ed6990646713ac3ff0a6d94..

index ..4d49770345b009a933d6981e7b332574fe1230ef 100755

--- 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