About Simple Klotski
Simple Klotski is a sliding-block puzzle toolkit for Unity, made by Living Failure. It generates boards in five modes — Gridlock (axis-locked blocks, free the hero through the exit), Klotski (the classic dense board, hero to target), Clear (arrows and taps, no dead ends), and Clear 3D (a block structure you orbit), and Clear Snakes (ropes that slither out head first along their own body). — solves every board by exhaustive search, rates it 1–5★, stamps its proven shortest solve, and stores it as a ScriptableObject. The scene, input and art are yours; a complete 3D demo with a Canvas menu and HUD is included.
Version 1.0 · Unity 6000.3+
Design philosophy
- Solve exactly, don't sample. Pars and solution counts come from breadth-first search over a canonical state space — ground truth, not a heuristic.
- Engineer difficulty, don't hope for it. Klotski boards are built backwards from the solved position to hit the depth you asked for, then re-verified forwards.
- Fair by construction. Clear boards come from a witness removal order and are monotone, so no sequence of legal taps can ever strand the player.
- Honest output. When constraints can't be met the report says so — no silently degraded boards, and no marketing claim the solver can't back.
- No bloat. The core is pure C# with zero package dependencies; demo and editor code live in their own assemblies.
- Readable example code. The demo is plain components to read, copy or replace — the referee carries no UI code, and the UI talks to it through one small interface.
More from Living Failure
Simple States — switch-and-state logic puzzles in four modes: Classic combinations, Ordered chains with traps, Lights Out with paintable pattern goals, and the three-state Trilight grid.
Simple Connect — a two-engine connection-puzzle toolkit: draw the pairs (square & hex), rotate the pipes, or rotate a whole network back together.
Simple Hamiltonian — a cover-all / single-path puzzle generator (square & hex): the solution is one unbroken line that visits every tile once.
All on the Unity Asset Store.
Support
Questions, bugs, or feature requests: livingfailuregames@gmail.com. Include the Unity version and, for board-specific issues, the seed and settings — seeds reproduce boards exactly. Documentation corrections are welcome.
License
Distributed under the Unity Asset Store End User License Agreement. Use it in games and tools; don't resell or redistribute the source as an asset.