Explain How a Room Gets Its Verdict

Over the last few lessons, you tested your mental model with one change, followed The Harbourmaster’s Office from its file to its verdict, and brought your docs/map.md up to date. Now it’s time to check whether you can explain how the builder works to someone who’s never seen your project.

In this session, you’ll explain to Code Mentor how a room goes from its file to the lines the check-room command prints. Then you’ll defend one of the project’s design decisions against a request from the business and say where a new change would go before you open any code. You won’t be asked what any single line does.

Get Your Evidence Ready

Code Mentor can’t see your machine, so it works only from what you tell it and paste in. Use your own escape room builder, or the reference version from the course downloads if you’re starting here. Both work, and your filenames and function names may differ from the reference version’s.

Before you start, run git status in your project folder to confirm that your map update from Keep Your Project Map True is committed. Then run your check-room command on one sample room, such as node check-room.js rooms/the-harbourmasters-office.json, and keep its output where you can copy it.

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.