/tic-tac-toe

tic-tac-toe multiplayer game

Primary LanguageGoApache License 2.0Apache-2.0

Tic-Tac-Toe

tic-tac-toe multiplayer game

running.mp4

Run locally

First, start the server with:

go run cmd/server/main.go

Then start two clients, each with:

go run cmd/client/main.go

Structure

  • cmd
    • client: minimal client implementation
    • server: minimal server implementation
  • internal
    • client/ui: UI model
    • server: handle clients requests and distributes into game rooms (each room for 2 players)
  • pkg/world: base logic