bgrenat/godot-game-dev-studio/gamedev-puzzle
Claude Code and agent skill by bgrenat/godot-game-dev-studio
- community
Checking that the SKILL.md file is still in the repository.
Imported awesome-gamedev-agent-skills guidance for puzzle workflows in game development projects. Use when building grid or board puzzle games: board model, rules, matching or pushing, scoring, undo, and level progression.
Install
npx vskill@latest install bgrenat/godot-game-dev-studio/gamedev-puzzleSKILL.md
The same SKILL.md was published earlier as bgrenat/godot-game-dev-studio/gamedev-puzzle.
Puzzle
A playbook for grid/board puzzle games — the board model, move input, rule resolution (matching, pushing, logic), scoring, undo, and level progression. This is a compositional skill: it models board state and rules and presents them through a tilemap/UI. It does not re-teach tilemaps; it defines the resolution loop and the correctness rules (clean state, deterministic resolution, undo) that keep a puzzle fair and bug-free.
When to use
- Use when the game is a discrete board the player changes with moves, and the board
resolves by rules: match-3/tile-matching, sokoban/block-pusher, sliding puzzle, logic grid.
- Use when designing match/cascade resolution, undo, level progression, or solvability.
When *not* to use: real-time grid action with permadeath → roguelike. Card zones/turns → card-game. Physics-based "puzzle platformer" → platformer + physics-tuning. For the tile rendering, use godot-tilemap / unity-tilemap-2d.
Core loop
Read the board → plan a move → make the move → the board resolves by its rules (match, push, fall, fill, cascade) → see progress toward the objective → repeat until solved/failed. The fun is the planning; the engine's job is to resolve each move deterministically and present it clearly.
Must-have systems
- Board model — a grid of cells holding pieces; the single source of truth (logic, not visuals).
- Move input — swap, push, drag, rotate, or place; validate legality before applying.
- Rule resolution — detect and apply the genre's rule (matches, pushes, logic) until stable.
- Cascades/chains — when resolution changes the board, re-resolve until no more changes.
- Objectives + scoring — win/lose conditions (score, clear all, reach goal); move/time limits.
- Undo — revert the last move (and its resolution) exactly; essential for thinky puzzles.
- Level progression + (often) generation — hand-authored or generated solvable boards.
- Feedback ("juice") — clear, satisfying animation/sound for matches, falls, and chains.
Design knobs
| Knob | Effect | Notes | |
|---|---|---|---|
| Grid size / shape | complexity | Square is standard; hex/irregular change feel. | |
| Match/push rule | genre identity | 3-in-a-row, shapes, push-into-goal, etc. | |
| Cascade scoring | reward depth | Bigger chains = exponential payoff. | |
| Move / time limit | pressure | Move-limited = puzzly; time = arcade. | |
| Difficulty curve | learning | Introduce one mechanic at a time. | |
| Undo depth | forgiveness | Single-step vs. full history. | |
| Solvability guarantee | fairness | Generated boards must be solvable. | |
| Deadlock handling | no dead ends | Detect no-moves; shuffle or end (refs). |
Patterns
1. Board model + match detection (logic separate from visuals)
2. Resolve → collapse → refill → cascade (repeat to stability)
3. Undo via state snapshot or command
For large boards prefer the command pattern (store the move + enough to invert it) over full snapshots to save memory; snapshots are simplest and fine for small boards.
Pitfalls / failure modes
- Mixing logic and visuals → animations desync from state and cause bugs. The board model is
the single source of truth; the view only renders it.
- Resolving only once → cascades/chains are missed. Loop resolution until the board is stable
(Pattern 2).
- Undo that doesn't restore everything → score/move-count/random-state drift. Snapshot all
state, or make the move fully invertible.
- Unseeded refill RNG → can't reproduce a level / no deterministic undo or daily puzzle. Seed it.
- Generated boards that aren't solvable → unfair dead ends. Generate-and-verify, or generate
from a known solution backward (refs).
- No deadlock detection (match-3) → board with no valid moves softlocks. Detect "no moves"
and shuffle or end the level (refs).
- Difficulty spikes → too many mechanics at once. Teach one mechanic per level before combining.
- Resolution mid-animation accepts input → double-moves/corruption. Lock input until the
board is stable.
Composition (build it from these skills)
- Board rendering:
godot-tilemap/unity-tilemap-2dfor the grid;godot-ui-controlfor HUD, score, and menus. - Levels:
level-designfor hand-authored puzzles and difficulty pacing;procedural-genfor solvable generated boards. - Persistence:
save-systemsfor level progress, high scores, and seeded daily puzzles. - Juice:
game-feelfor match/cascade pop, screen shake, and chain feedback; the engine animation/Tweenskill for swaps/falls/clears;audio-designfor match and chain cues. - Scripting:
godot-gdscript/unity-csharp-scriptingfor the resolution loop and rules.
References
- For match-3 detection/gravity/refill/cascade detail, deadlock detection and reshuffles,
sokoban/rule-based puzzles, undo strategies, solvable generation, and scoring, read references/board-and-resolution.md.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gamedev-puzzle/SKILL.md
Popularity
- Repository stars
- 24
- Repository forks
- 3
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bgrenat/godot-game-dev-studio/gamedev-puzzle)