shut-the-box
@jeffy24

shut-the-box

Roll dice, close matching tiles, and chase a perfect 3D Shut the Box round.

About this tile

Shut the Box is a compact Poe app for the classic dice-and-tile pub game. Roll two dice, pick any open tiles that add up to the roll, and keep closing numbers until every tile is down or no legal combination remains.

The app uses synced-store for persistent round state and a Three.js table scene with hinged wooden tiles, selectable highlights, and visible dice. It is tuned for compact Poe iframes, desktop embeds, and 300 by 500 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 shut-the-box and package name @boardgames/shut-the-box.