🎮 Game Types Reference

Each game type has its own params schema and purpose-built validator. Here's the full reference for all types.

🧩 grid-stealth

Grid-based stealth puzzles with patrol avoidance and pathfinding. Powers Spinnerzeit's Nightly Feed game. Every puzzle is validated to have at least one viable path avoiding all patrols.

ParamTypeRequiredDescription
widthnumberYesGrid width (4–64)
heightnumberYesGrid height (4–64)
piecesstring[]YesPiece types (e.g. guard, wall, exit, key, door)
playerStart[number, number]NoStarting position (default [0,0])
exitPosition[number, number]NoExit position (default bottom-right)
maxPiecesRecord<string, number>NoMax count per piece type
patrolPatterns'static' | 'linear' | 'loop'NoGuard movement patterns
allowDiagonalMovebooleanNoPlayer can move diagonally (default false)

📝 word-puzzle

Wordle variants, anagram puzzles, and other word games. With 399+ Wordle clones on the market, this is one of the most in-demand content types. All words validated against real dictionaries.

ParamTypeRequiredDescription
variant'wordle' | 'anagram' | 'crossword'YesWord puzzle variant
wordLengthnumberYesTarget word length (3–15)
dictionary'en' | 'es' | 'de' | 'fr'NoDictionary language (default 'en')
excludeWordsstring[]NoWords to exclude (already used)
maxObscuritynumberNo0.0 (common) to 1.0 (obscure), default 0.5

📦 sokoban

Push-box puzzles with optimal move validation. Every generated puzzle is guaranteed solvable with the reported optimal solution. Difficulty is based on optimal move count, deadlock complexity, and branching factor.

ParamTypeRequiredDescription
widthnumberYesGrid width (5–20)
heightnumberYesGrid height (5–20)
boxesnumberYesNumber of boxes/goals (1–10)
minOptimalMovesnumberNoMinimum optimal solution length
maxOptimalMovesnumberNoMaximum optimal solution length
allowDeadlockStatesbooleanNoAllow reachable deadlock states (default true)

🔢 sudoku

Classic 9×9 Sudoku puzzles with difficulty grading. Each puzzle has a unique solution. Difficulty based on required solving techniques (naked singles → hidden pairs → X-wing, etc.).

ParamTypeRequiredDescription
size9 | 16NoGrid size (default 9)
symmetry'rotational' | 'mirror' | 'none'NoClue placement symmetry
minCluesnumberNoMinimum given clues (17–50 for 9×9)
maxCluesnumberNoMaximum given clues
requiredTechniquesstring[]NoSolving techniques puzzle must require

🎨 nonogram

Nonogram / Picross logic puzzles. Every puzzle guaranteed to have a unique solution (critical for nonograms). Can optionally generate puzzles that form recognizable pixel art.

ParamTypeRequiredDescription
widthnumberYesGrid width (5–30)
heightnumberYesGrid height (5–30)
colorsnumberNoNumber of colors (default 1 = black/white)
targetImagestringNoKeyword for pixel art target (e.g. 'cat', 'star')
uniqueSolutionbooleanNoGuarantee unique solution (default true)

🔜 Coming Soon

The following game types are in active development:

TypeDescriptionETA
dungeon-layoutRoguelike room generation with connectivity validationQ3 2025
tower-defenseWave spawn composition, timing, and difficulty balancingQ3 2025
platformer-chunkDifficulty-calibrated obstacle sequences for platformersQ4 2025

📋 On the Roadmap

TypeDescription
tcg-balanceTCG card stat blocks, abilities, mana costs — verified balanced against each other
quest-encounterRPG quest templates with branching narratives and encounter balance

🛠️ custom

Bring your own rules and validator. Set validatorUrl to your endpoint — GameplayGen will POST generated content there for verification. See the Custom Validators section for details.