module
Version:
v0.0.0-...-b2ff314
Opens a new window with list of versions in this module.
Published: Mar 30, 2023
License: Apache-2.0
Opens a new window with license information.
README
¶
Tic-Tac-Toe
tic-tac-toe multiplayer game
https://user-images.githubusercontent.com/62650188/228930784-f7605f7b-3f61-4a06-8a1c-91b62b0399a3.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
Directories
¶
Click to show internal directories.
Click to hide internal directories.