piggy-puzzle
Swipe piglets across blocker grids into matching snack pens before the move limit runs out.
About this tile
Piggy Puzzle is a mobile-first Poe sliding-route puzzle. Piglets sit on a blocker grid and the player swipes a piglet in a straight line toward a matching snack pen. Every swipe matters because piglets slide until something stops them and blocked swipes still cost a move.
What you can do
- Swipe piglets directly on the board toward same-color snack pens.
- Solve escalating route levels with blockers, other piglets, wrong snack pens, and move limits.
- Read the current action prompt on the play surface; the top-right help modal holds fuller rules and public records.
- Publish public best-run records through synced-store.
Implementation
The mechanic-specific rules live in logic/game.ts: level data, direction parsing, slide simulation, blockers, piglet collisions, wrong-snack stops, move limits, terminal states, and a deterministic solution runner are pure functions tested without DOM or synced-store clients. ui/App.ts renders derived board state and translates swipe gestures into explicit applySwipe inputs.
The app uses only public synced-store leaderboard rows. It does not use privateOfUser, serverOnly, proprietary assets, proprietary level data, or proprietary names.
Built with Codex and OpenSpec in ~/mobile-game-clones/games/piggy-puzzle.