Designs grid and logic puzzle games: match-3 cascades, Sokoban pushing, unique-solution grids (nonogram, Sudoku), exact undo, and solver-checked levels. Use for Candy Crush-like, Sokoban, or Picross, or fixing broken cascades, drifting undo, or unsolvable levels.
Ships in gamedev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Owns discrete board puzzles: the rules engine, resolution order, undo, solvability and level difficulty. The board model is the only truth; the view replays the list of changes each move produced.
When not to use: physics-driven puzzles and puzzle platformers (platformer,
physics-tuning); turn-based dungeon runs (roguelike); card zones (card-game).
apply(state, move) -> (state, events) function. The view animates events.| Family | Rules that matter | Starting numbers |
|---|---|---|
| Match-3 | 4 in a line makes a line-clear piece, an L or T of 5 makes an area bomb, 5 in a line makes a colour bomb (Candy Crush naming) | 8x8 or 9x9 board, 5-6 colours (fewer colours, more cascades), hint after about 5 s idle |
| Push (Sokoban) | push one box, never pull; dead squares (non-goal corners, wall edges with no goal) | difficulty from minimum pushes and states explored, not board size |
| Slide (15-puzzle) | half of random arrangements are unsolvable | check inversion parity (refs §7) |
| Merge (2048) | slide, merge equal neighbours once per move, then spawn | the original spawns a 2 with 90% chance and a 4 with 10% |
| Logic grids | exactly one solution, reachable by deduction alone | grade difficulty by the hardest deduction rule the solver needed |
| Rule-changing (Baba Is You style) | rules are board objects; re-derive the rule set after every move, before win checks | test every rule word against every object type |
No-guess generation is standard for logic puzzles: Simon Tatham's Mines, for example, ensures by default that the whole grid can be deduced from the first opening.
def resolve(board, rng):
events, chain = [], 0
while True:
matches = find_matches(board) # runs of 3+, rows and columns
if not matches:
break
chain += 1
specials = specials_from(matches) # decide BEFORE clearing (shape and swap cell)
events.append(("clear", matches, chain))
clear(board, matches); place(board, specials)
events.append(("fall", apply_gravity(board)))
events.append(("spawn", refill(board, rng))) # seeded RNG, saved in undo snapshots
if not has_valid_move(board):
events.append(("shuffle", reshuffle_until_playable(board, rng)))
return events
references/board-and-resolution.md: read when writing match-3 gravity, refill and
deadlock code, cascade scoring, Sokoban pushing, logic-grid validity checks, undo strategies,
solvable generation and sliding-tile parity, or input locking during animation.Related: level-design (teaching order), procedural-gen (seeded generators), save-systems
(progress, daily seeds), game-feel (match pops, chain feedback), godot-tilemap or
unity-tilemap-2d (board rendering).
Last verified: 2026-11-11.
Math.random() < 0.9 ? 2 : 4 in
https://github.com/gabrielecirulli/2048/blob/master/js/game_manager.js.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/gamedev:puzzlefrom gamedev
npx claudepluginhub cirobarone78/games-skill --plugin gamedev80 skills in this plugin
/ai-behavior-trees-utility-aiEngine-neutral behavior tree and utility AI code for NPCs in any language: Blackboard, reactive composites, decorators and response-curve scoring. Use when an enemy keeps chasing after losing sight, restarts its action every frame or flip-flops between choices. Not for FSMs, steering or pathfinding (`game-ai`) or Unreal BT, EQS and StateTree (`unreal-behavior-trees`).
/audio-designEngine-neutral game audio technique: bus layout, volume sliders in decibels, loudness, ducking music under dialogue, adaptive music and SFX variation, with Godot, Unity and FMOD/Wwise mappings. Use when mixing a game, making music react to combat, fixing repetitive footsteps or beat sync, or a mix that clips or pumps. Not for the Godot audio API (`godot-audio`).
/2 plugins ship this exact skill · first indexed Nov 16, 2026
Other plugins' skills for the same job