A tool for puzzle-game level designers. It learns a game's real rules from its code, builds the level you ask for, and wins it in the real game before handing it over.
Nobody knows if a new puzzle level can be won until someone sits down and plays it.
Pick a request on the left. Each one was run through the real program and recorded. Press Play solution to watch the computer win, or Play it yourself and use the arrow keys.
Change the level and press Verify. The solver runs live in this browser tab and returns the shortest solution, or shows that there is none.
UPPERCASE = a word tile · lowercase = an object · . = empty. Words: IS YOU WIN STOP PUSH SINK DEFEAT. Things: BABA KEKE ROCK BOX WALL HEDGE FLAG STAR KEY WATER LAVA SKULL.
Baba Is You is only our example. The same steps apply to other 2D puzzle games, and we tested a second one. 3D puzzle games would need extra work and are not tested yet.


Both pictures are levels our program made, drawn with each game's own graphics. Baba Is You was made by Arvi Teikari (Hempuli). We used baba-is-auto, a free open-source copy of its rules by utilForever, and sokoban-solver-generator by xbandrade.
Part 1 happens once per game and produces a rule book. Part 2 runs for every request and uses that rule book at every step.
All numbers come from scripts in the repository. None were typed by hand.
| By hand | Ask a chatbot | Level-Forge | |
|---|---|---|---|
| Opens in the game | yes | not checked | checked by the game's loader |
| Can be won | after play-testing | no evidence | solution replayed in the game |
| Shortcuts | found by luck | no | searched for |
| Difficulty | a feeling | a guess | measured |
| Impossible request | found late | not checked | refused with the reason |
| Time per level | not measured by us | seconds | seconds |
We did not time human designers, so we make no claim about hours saved.
git clone REPO_URL
cd level-forge
./build_engine.sh # once, about 2 minutes
./run_demo.sh # http://localhost:8765Without an API key the program runs in this same test version and says so at the top of the page.