You’ve built the escape room project one piece at a time: a brief, a plan, an instruction file, and a walking skeleton. This project brings them together. It turns the owner’s brief for the tool into a checklist that takes you from a blank folder to a first working slice.
If you followed the lessons, most of the work is done. You’ll check each file against the list, fix what differs, and start a short project map. If you’re starting here, you’ll do every step, and each one names the lesson that teaches it. Either way, start with the brief that you’ll check everything else against.
Read the Owner’s Brief
This is the owner’s brief for the tool. It’s the same for every learner, whatever their agent builds:
- Who uses it: The business’s room designers, who check each new room by hand today and don’t write code.
- What it must do: Load a room from a JSON file in the
rooms/folder and say whether a team can finish it. - What it must not do: Invent a difficulty score, rating, or level, or change a room file. Difficulty stays the designer’s estimate for each puzzle, the
estimateMinutesvalue. - Constraints: JavaScript on Node 26 with ES modules, no framework, no bundler, no paid services, and
npm testrunning Node’s built-in test runner. - Done when: It says that the Lighthouse Keeper’s Study can be finished and that the broken sample room, The Smuggler’s Cellar, can’t. Its first test passes, and the project is committed.
“Can be finished” needs one meaning for you, your agent, and every test. A team starts with nothing, and items and codes stay once found, so nothing gets used up. A room can be finished when every puzzle becomes reachable through its needs and the unlocks of puzzles solved before it.
That definition gives the first slice two ways a room can fail. One is a need that no puzzle unlocks, like the iron key in The Smuggler’s Cellar. The other is puzzles that need each other, so none can go first. Checks for items that get used up and for dead ends come in later courses.
Check Your Documents
The brief, the plan, and the instruction file define what every session builds, so check them before the code. When a document fails its line, or you haven’t done that work yet, open the lesson that line names.
If you’re starting here, set up the folder first, as in Write the Project Brief. Make escape-room-builder a Git repository with a docs folder and the download’s rooms folder. Choose your permission settings first, then start the agent from the project’s root folder.
Then check each document against its line:
docs/brief.md(Write the Project Brief) names the purpose and the users, the must-haves, an out-of-scope line for any difficulty score, the constraints, done-when examples for both sample rooms, and the meaning of “finished”. If it says a team starts with nothing and must meet all of a puzzle’s needs, then it covers puzzles that need each other too.docs/plan.md(Get a Plan Before Any Code) names the files and folders, ES modules, and the shape of a room in the code. Its step 1 sets upnpm testrunningnode --testwith one passing test. Every step says how it’s checked and traces back to a line in the brief.- Your instruction file (Write the Project’s Instruction File) is short and holds the run, test, and lint commands, the rules the code won’t show, and pointers to the brief and plan. One rule says never to calculate a difficulty score. Until the slice exists, the commands are marked as planned.