The Forgotten Library
One grid, six rooms, three chests. Everything else is decided by chance — and by you.
How it works
Move with the arrow keys, WASD or the buttons below the map. The map is a grid of rooms and corridors; every run is generated fresh, and the seed in the top right decides the layout. The same number gives the same dungeon.
Three chests hold game recommendations. Step on a chest and it opens; the find appears below the map. The exit stays locked until every chest is empty.
The wardens do not stand still: once they see you they close in, and when they stand next to you they attack. Every second turn is theirs — that gives you time to dodge. A hit costs the warden a point; after two hits it is gone. You have three lives. At the exit, or at zero lives, a summary covers the map: moves, lives, chests, wardens driven off, time and your record. Losing does not erase anything: what you found stays in your collection.
Under the hood
The rooms come from a small random generator (mulberry32); the rest is a two-dimensional grid. No engine, no images: the map is a CSS grid of cells that get a colour based on their content. The whole dungeon weighs a few kilobytes.
Found recommendations live in localStorage under phosphor:dungeon. The recommendations themselves are in /data/games.json and can be extended there — a new id is enough, and the chests can draw it.
Without JavaScript this page stays empty apart from this text. The games are an extra, not content that exists only here.