chomp
@jeffy24

chomp

Bite a synced 3D Chomp chocolate bar, avoid poison, and leave your rival trapped.

About this tile

Chomp is a two-player chocolate-bar game on a synced 6x6 board. Coral and Teal take turns biting one fresh square; that square and every fresh square below and to its right are eaten. The top-left square is poison. Bite it and the other player wins.

This Poe app is built around the playable board: direct square taps, an animated Three.js chocolate tray, a distinct poison tile, bite highlights, top counts, and compact bottom controls for a new round or a deterministic endgame drill.

What you can do

  • Tap the board: Choose a chocolate square directly; no move list is needed.
  • Watch the bite: The eaten rectangle disappears from the bar and leaves animated crumbs.
  • Avoid poison: The top-left square is always dangerous unless the game is already lost.
  • Trap the next player: If your safe bite leaves only poison, you win immediately.
  • Practice the finish: The drill loads a one-bite terminal position for fast testing.
  • Share one instance: Synced-store keeps the round state consistent across clients.

Development

  • ./scripts/doctor.sh checks the local toolchain.
  • bun run type-check verifies TypeScript.
  • bun test runs synced-store and happy-dom UI tests.
  • bun run test:playwright builds and runs browser tests.
  • bun run screenshot:regen regenerates assets/screenshot.png.