https://github.com/frixaco/tictacgoe
https://github.com/frixaco/tictacgoe
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/frixaco/tictacgoe
- Owner: frixaco
- Created: 2024-12-04T19:25:01.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-05T19:04:57.000Z (6 months ago)
- Last Synced: 2025-02-08T06:43:27.570Z (3 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Tic Tac Toe in your terminal
TODO:
- Create room for 2 players
- Players connect with a unique room name (generated by server)
- "ttg " to join a room and start playing
- Display 3x3 grid
- Use websockets to sync moves
- A move is 3 characters: ``
- Top left is 0,0; bottom right is 2,2
- Clicking on a cell makes a move
- Detect a win
- Send a message to all clients
- Detect a draw
- Send a message to all clients
- Global room list so people can join games
- Simple website with shareable link or smth?