TicTacToeTuiOnline
[Go, WebSockets, TUI]
An online multiplayer tic-tac-toe game with an infinite board, playable directly in the terminal via a custom TUI client and a WebSocket game server.
README
TicTacToeTui Online
An infinite board online multiplayer tic tac toe game directly in your terminal.
Client Game Setup
Executable
(Coming soon)
Go Install
go install github.com/sokmontrey/TicTacToeTuiOnline/cmd/client@latest
Run:
client
From Source
git clone https://github.com/sokmontrey/TicTacToeTuiOnline.git
cd TicTacToeTuiOnline
Build (go 1.23.3 required):
cd cmd/client
go build -o client_game
Run:
./client_game
Or Run directly:
go run cmd/client/main.go
By default, the client will connect to the server at tictactoetuionline.onrender.com.
Custom Server Setup
Manual
Build (go 1.23.3 required):
cd cmd/server
go build -o server
Run:
./server
Or Run directly:
go run cmd/server/main.go
Update Server Address
Edit the serverAddr constant in cmd/client/main.go without the protocol prefix.
Example:
//...
const (
serverAddr = "localhost:8080"
)
//...