Description
King’s Plot | HTML5 Game – Phaser 4
King’s Plot | HTML5 Game – Phaser 4 is a strategic chess capture puzzle template (built with Phaser 4 + TypeScript) where pawns move only by capturing and the King must survive as the last piece. Plan your capture chains and conquer procedurally generated puzzles that are always solvable.
Core Gameplay
- Capture-only movement — pieces never move to empty tiles: every move is a capture. Rooks slide orthogonally, Bishops slide diagonally, Queens slide both ways, Knights jump in an L, and the King steps one tile in any direction.
- King’s survival — the King is invulnerable and can never be captured. Clear the board piece by piece until only the King remains to win the level.
- Queen exclusivity — only the King may capture a Queen, so you must time your approach and keep control of the board until the final strike.
- Lock rule — the pawn that just moved is locked (dimmed) until another pawn moves, forcing you to alternate pieces and plan multi-step capture sequences ahead.
- Star collectible — optional stars appear on select levels. Capturing the star is never required to win, but star levels are verified to stay solvable even after it is taken.
- Smart hint system — the hint button computes the recommended next capture using the exact same deterministic solver that generated the level, so the hint always agrees with the puzzle (and warns you when a board becomes unsolvable).
- Undo & Reset — undo restores the last captured pawn and your move history; reset restarts the board whenever you reach a dead end.
- Tutorial & progression — six guided levels teach every mechanic with a tap-me hand, live guidance and wrong-attempt lessons; progress unlocks new levels, and cleared levels grant hint/undo credits.
- Procedural level generator — boards from 4×4 to 8×8, generated from a seed with guaranteed solvability, difficulty scores from very-easy to insane, and one-command CLI regeneration.
- Juicy feedback — pawn slide captures with knockback, wrong-move/wrong-capture indicators, a tap-me hint hand, confetti celebrations and smooth tween-driven transitions on every screen.


