
puzzle
Build a puzzle game: grid/board state, move input, rule-based resolution
by gamedev-skillsFree
Description
Puzzle is an agent skill for building discrete board puzzle games in any game engine. It owns the rules engine, the order in which a board resolves, undo, solvability checks, and level difficulty. The board model is treated as the only source of truth, and the view replays the list of changes each move produces. The skill covers puzzles where the player moves pieces and the board resolves by rules, such as match-3 games with cascades, Sokoban-style pushing, sliding and merging tiles, and logic deduction puzzles with a unique solution, such as nonograms and Sudoku. It also covers writing a solver or generator, ordering levels by difficulty, and fixing undo or soft-locks, where a player gets stuck. It is not meant for physics-driven puzzles, puzzle platformers, turn-based dungeon runs or card zones, which have their own skills in the collection. The skill is part of the awesome-gamedev-agent-skills collection by gamedev-skills and works as a guide for coding agents building puzzle mechanics. It is for game developers who want a puzzle game built with correct rules, reversible moves and levels that can be solved.…
Highlights
- Rules engine and resolution order for boards
- Exact undo and replayable change lists
- Solvers and generators for unique-solution puzzles
- Level difficulty ordering and soft-lock fixes
Ratings & Reviews
No ratings yet
Be the first to rate puzzle.
People also visit

higgsfield-game-generation
Build and iterate playable browser games, or create game-specific sprites
puzzle FAQ
What is the Puzzle skill?
An agent skill for building discrete board puzzles, covering the rules engine, undo, solvability and level difficulty.
How do I install it?
Run npx skills add https://github.com/gamedev-skills/awesome-gamedev-agent-skills --skill puzzle in your project.
Which puzzle types does it cover?
Match-3 cascades, Sokoban-style pushing, sliding and merging tiles, and logic puzzles such as nonograms and Sudoku.
What is out of scope?
Physics-driven puzzles, puzzle platformers, turn-based dungeon runs and card zones, which the collection covers in other skills.
Which security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best puzzle alternatives?
Popular alternatives to puzzle include tabletopkit, tetris and pacman. See all puzzle alternatives








