Skip to main content
ANY
SkillFreeBy GameSkill · tuned

Puzzle Game

/puzzle

Build a puzzle game: grid/board state, move input, rule-based resolution (match-3 cascades, sokoban pushes, tile logic), scoring, and undo.

License
Apache-2.0
By
By GameSkill
Download ZIP

Part of

Awesome Gamedev Agent Skills

77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.

Tested by GameSkill

36/36 checks passed on Godot 4.7.2 (2026-10-28): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.

Test report

What this skill does

When it triggers

Build a puzzle game: grid/board state, move input, rule-based resolution (match-3 cascades, sokoban pushes, tile logic), scoring, and undo. Use for a match-3, sokoban, or grid-logic puzzle.

GameSkill's tested copy

GameSkill's tuned build of this skill: the skill files from commit 184b72be0288, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.

License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

Puzzle Game

Self-check

  • 棋盘数据是唯一真相,画面只读它 / The board model is the single source of truth; the view only reads it
  • 一次操作后循环结算直到没有新的消除 / After a move, resolution loops until no new matches appear
  • 补块用固定种子的随机数,撤销会把随机数状态一起还原 / Refills use a seeded RNG, and undo restores its state too
  • 开局没有现成的消除,且至少有一步可走;无步可走时洗牌 / The opening board has no matches and at least one move; a deadlock triggers a shuffle
  • 结算动画播放时锁住输入 / Input is locked while the board resolves

Install

Tell your AI

Install the skill from https://gameskill.dev/skills/puzzle/install.md

GameSkill's tested copy

Tested copy into .claude/skills/
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/puzzle.zip -o /tmp/gameskill-puzzle.zip
unzip -oq /tmp/gameskill-puzzle.zip -d .claude/skills
rm /tmp/gameskill-puzzle.zip

What you get

  • Worked steps: Board model + match detection; Resolve → collapse → refill → cascade; Undo via state snapshot or command
  • A pitfalls section with the mistakes to avoid
  • Bundled 1 reference doc the agent reads when needed

Good fit

  • A match-3, sokoban, or grid-logic puzzle

Try this prompt

Prompt
Build a match-3 board with cascades, scoring and undo.

About this skill

Build a puzzle game: grid/board state, move input, rule-based resolution (match-3 cascades, sokoban pushes, tile logic), scoring, and undo. Use for a match-3, sokoban, or grid-logic puzzle.

From the puzzle SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.

What's inside

  • Core loop
  • Must-have systems
  • Design knobs
  • Board model + match detection (logic separate from visuals)
  • Resolve → collapse → refill → cascade (repeat to stability)
  • Undo via state snapshot or command
  • Composition (build it from these skills)

FAQ

MATCHED PRO KIT$8.25/mo

Peel-Match Puzzle Kit

Complete engine for viral Pixel Flow / Knit Out casual puzzles: BFS exposed-edge peeling, DFS 100% solvability prover, Monte Carlo blind-bot curve tuner, 64×64 offscreen yarn renderer, and zero-asset iOS-safe 3-voice WebAudio.

  • BFS exposed-edge engine + color conservation validator
  • Bounded heuristic DFS solver (CI proof + live Hint/Undo)

Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.

More from Awesome Gamedev Agent Skills

See all 48

Similar skills