pong-hau-ki
@jeffy24

pong-hau-ki

A polished Pong Hau K'i blocking duel with synced turns, cute Three.js pieces, and quick trap drills.

About this tile

A compact Poe board-game package for Pong Hau K'i, the traditional five-point blocking game.

The board has two upper points, one center point, and two lower points. The center connects to every corner, the lower edge is connected, and the side edges connect upper and lower neighbors while the upper edge stays open. Each player starts with two pieces and the center empty. On your turn, slide one of your pieces along a connected line into the single empty point. You win immediately if the next player has no legal slide.

The app persists match state with synced-store, renders the butterfly board with Three.js, and includes compact touch-first controls for Poe feed iframes, including a 300px by 500px viewport test.

Scripts

  • bun run doctor checks local prerequisites.
  • bun run type-check runs TypeScript.
  • bun run test runs focused rules, mutator, and happy-dom UI tests.
  • bun run build creates the Poe runtime bundle in dist/.
  • bun run test:playwright runs browser E2E and viewport tests.
  • bun run screenshot:regen rebuilds and writes assets/screenshot.png.

Package

  • Poe handle: pong-hau-ki
  • Package name: @boardgames/pong-hau-ki
  • Runtime bundle: dist/