Project: A Weekend of Play-Tests

The business ran play-tests all weekend and came back with three pieces of work for the escape room builder. A room the tool said could be finished stopped every group at the same lock. A guest designer sent a room file. And the hosts want a hint timer.

You’ll handle all three on your own machine with your agent. You’ll hunt a bug from evidence, keep a guest file from steering your agent, decide who writes a change, and keep your map true. This page is your brief and plan. Here, you set up the project and record your decisions. You’ll carry out the work in the steps that follow.

Set Up Your Project

Every step needs a clean starting point and the same room. The requests are in the play-test weekend pack, the course’s second download: docs/bug-reports.md, docs/hint-timer.md, and the guest designer’s file in incoming/. Read the two documents, then set up your project:

  1. Run git status in your project folder, and commit or restore anything left over.
  2. Copy the pack’s rooms/the-clockmakers-workshop.json into your project’s rooms/ folder.
  3. Run the checker on it the way the business did.

On the reference version, the checker gives the verdict the business trusted (its long chain line is wrapped for display):

Language: Shell
$ npm start --silent -- rooms/the-clockmakers-workshop.json
The Clockmaker's Workshop: can be finished.
Longest chain: the clockmaker's workbench, the cuckoo clock,
  the clock-face lock, the workshop door (4 puzzles, 25 minutes)
In parallel: the clockmaker's workbench and the gear drawer
In parallel: the gear drawer and the cuckoo clock
In parallel: the gear drawer and the clock-face lock

If your project says the room can be finished with no “Dead end:” line, it has the bug. If it says anything else, for example because it ignores capital letters, do the whole project in the reference version, as you did for the play-test averages. Unpack it into its own folder, repeat the three steps there, and use that folder for everything from here on, the hint timer and the map included.

If git status there says it’s not a git repository, the download has no Git history yet: run git init, then git add -A and git commit -m "Start from the reference version".

Whether you use your project or the reference version, stage the room file and commit it with git commit -m "Add The Clockmaker's Workshop".

Read the Brief

Each request gets its part of the brief: what the business asked for, what you decide, and when it’s done. You’ll hold your agent, your tests, and yourself to these decisions, so make all of them before any code changes.

The Lock Bug

Hosts report that teams had the pendulum, but the cuckoo clock had used up the brass key the clock-face lock still needs. Here’s the cuckoo clock in the room file:

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.