Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env wish
package require http
package require tls
package require json
package require json::write
# Initialize TLS
::tls::init -ssl2 0 -ssl3 0 -tls1 0 -tls1.1 0 -tls1.2 1 -tls1.3 1
#!/usr/bin/env bash
# tictactoe.sh - tictactoe in bash for fun
#
set -eu
board=" "
turn="X"
print_board() {