Random Puzzle Room Generator
Draw room sizes, door counts and two contents per room for a dungeon or puzzle layout, from an integer seed.
Sizes, doors and contents
Each room gets a width from 3 to 9 cells, a height from 3 to 7, between one and four doors, and two contents drawn without replacement from a bank of eight — a lever, a chest, a cracked pillar, a floor plate, a key on a hook, a shallow pool, a brazier and a locked grate. The room count is a whole number from 1 to 12 and the seed is a whole number from 0 to 4294967295.
The page lays nothing out: it does not place the rooms on a grid, does not connect doors to corridors, and does not check that the contents make a solvable puzzle. Two contents in one room can be redundant or contradictory, and the door count is a number rather than a direction.
Four draws per room come from one 32-bit mulberry32 stream read in order, so the same count and seed always print the same rooms. The page makes no request and stores nothing.
Draws a list of rooms with a size, a door count and two contents each, from an integer seed.
It is a list, not a floor plan: rooms are not placed or connected, and the contents are not checked for a solvable puzzle.
How to use it
Set how many rooms you want (1 to 12) and a seed, then press Run. Each line is one room with its size, door count and the two contents it drew.
Contents are drawn without replacement inside a room, so a room never lists the same object twice; across rooms the same object can repeat, which is what you want for a dungeon with several chests.
What to Expect
Best for
- a dungeon room list
- a puzzle-room prompt
- filling a level outline
What this tool keeps
- two distinct contents per room
- a door count per room
- the seed for a redraw
Frequently asked questions
How do I use the random puzzle room generator?
Enter a room count and an integer seed, then press Run. Each room prints on one line with its size, number of doors and two contents.
Is anything uploaded or stored when I press Run?
No. The draw happens in this tab with JavaScript: no request leaves the page, nothing is stored and a reload clears the form.
What are the limits and bounds?
The room count must be a whole number from 1 to 12 and the seed a whole number from 0 to 4294967295; a count outside that range is refused rather than trimmed.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.