Playable result only — the source code stays hidden.
Mission 0: See What You’re Building
Play Maze Escape first and notice the rule: touching a wall sends you back, and the exit does not work until you collect the key. The route has several turns, but the corridors are deliberately wide enough to stay beginner-friendly.
This quest is more reasoning-heavy than the earlier games. It reuses arrays, objects, loops, functions and collision checks together, with fewer code-shaped requirements.
What you’ll build, mission by mission
- 1Start and exit
Make the goal visible.
- 2Move the player
Recall four-direction controls.
- 3Draw one wall
Represent rectangle geometry as an object.
- 4Debug collision
Reason about left and right edges.
- 5Build the maze
Store several walls in an array.
- 6Check every wall
Generalise collision with a function parameter.
- 7Reach the exit
Create a win condition.
- 8Find the key
Add a prerequisite using Boolean state.
- 9Restart
Reset the progress state independently.