1.1 KiB
1.1 KiB
Tictactics
A notepad-playable browser game that combines Tic Tac Toe's line-making goal with a small capture mechanic.
Rules
- Two players alternate placing
XandOon empty cells. - The board is
5 x 5. - After placing a mark, enemy marks trapped in a straight line between the new mark and another friendly mark are captured and removed.
- Captures can happen in any of the eight directions.
- First player to make
4 in a rowwins. - If the board fills with no winner, the game is a draw.
Run With Docker Compose
docker compose up --build
Then open http://localhost:3000 in two browser windows. The first two connected players are paired automatically.
Stop it with:
docker compose down
Run Locally
npm start
Then open http://localhost:3000 in two browser windows.
Set a different port with:
$env:PORT=4000; npm start
Notes
- No authentication or user accounts are required.
- The server keeps games in memory only.
- If an opponent closes their window, the remaining player sees a disconnect error and waits for a new player.
- No build step is required.