diff options
author | epoch <epoch@hacking.allowed.org> | 2017-11-01 02:56:54 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-11-01 02:56:54 -0500 |
commit | 593e9e63717506da967dccd617bbab3717f7a6e8 (patch) | |
tree | 084cce371bd56234b65eba9fc7f09460b5b7002c /tictactoe | |
parent | 6721695ea580738db03c3de5efb90e8fd7a7c2b2 (diff) | |
download | hackvr-593e9e63717506da967dccd617bbab3717f7a6e8.tar.gz hackvr-593e9e63717506da967dccd617bbab3717f7a6e8.zip |
I do not remember. it works better though!
Diffstat (limited to 'tictactoe')
-rwxr-xr-x | tictactoe/run | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tictactoe/run b/tictactoe/run index d719f2e..73655dd 100755 --- a/tictactoe/run +++ b/tictactoe/run @@ -19,6 +19,7 @@ stdbuf -oL cat board p | ../src/hackvr_x11 "$USER" \ cat "marker$turn" printf "%s move %s %s 0\n" "_marker" "$(expr "$translatex")" "$(expr "$translatey" - 2 )" printf "%s move %s %s 0\n" "_marker" "$(expr "$translatex")" "$(expr "$translatey" - 2 )" >/dev/stderr + grep "$group" board | sed "s/$group/_marker2/g" printf "%s renamegroup _marker _marker%s%s\n" "$USER" "$(date +%s)" "$RANDOM" fi done > p |