four-in-a-row
@jeffy24

four-in-a-row

A polished local two-player four-in-a-row game with a tactile 3D board.

About this tile

Four in a Row is a local two-player Poe app for the classic public-domain connection game. Players alternate dropping red and yellow discs into a 7-column, 6-row board; the first player to connect four vertically, horizontally, or diagonally wins. If the board fills without a connection, the round ends in a draw.

The app uses synced-store for persistent round state and a Three.js scene for the main board and pieces. It is designed for compact Poe iframes, including very small phone-shaped viewports.

Development

  • bun run doctor checks the local app toolchain.
  • bun run type-check runs TypeScript.
  • bun run test runs synced-store and happy-dom unit tests.
  • bun run build bundles the Poe app.
  • bun run test:playwright builds and runs Playwright E2E coverage.

This package is configured with Poe handle four-in-a-row and package name @boardgames/four-in-a-row.