2026-05-07 16:25:29 -04:00
2026-05-07 16:25:29 -04:00
2026-05-07 16:25:29 -04:00
2026-05-05 11:40:05 -04:00
2026-05-07 16:25:29 -04:00
2026-05-07 16:25:29 -04:00
2026-05-05 11:40:05 -04:00
2026-05-05 14:23:45 -04:00
2026-05-07 16:25:29 -04:00
2026-05-07 16:25:29 -04:00
2026-05-05 11:40:05 -04:00

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 X and O on 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 row wins.
  • If the board fills with no winner, the game is a draw.

Run With Docker Compose

Optional: copy .env.example to .env and change APP_PORT.

docker compose up --build

Then open http://localhost:8787 in two browser windows. The first two connected players are paired automatically.

Set a different host port with:

$env:APP_PORT=9090; docker compose up --build

Stop it with:

docker compose down

Run Locally

npm start

Then open http://localhost:8787 in two browser windows.

Set a different port with:

$env:APP_PORT=9090; 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.
Description
A notepad-playable capture tic tac toe browser game.
Readme 83 KiB
Languages
JavaScript 74%
CSS 18.4%
HTML 6.5%
Dockerfile 1.1%