Level 9

Maze 1
Maze 2

Level Data

Level name: Level 9
Instructions: Now for a real challenge! Can you write one solution that will allow the runner to solve two different mazes at once? Take a look at your solution to maze 9 and try to adapt it to solve both mazes.
Updated: 28/02/2025 00:56
Permalink: http://maze.asdan-computing.org.uk/1c6aae76-b49e-4122-a207-ff00de8a316f

Blockly Code

Javascript Code

JS Command Description
window.mazerunner_move() Moves the runner one cell forward.
window.mazerunner_complete() Returns TRUE if the runner is in the goal cell, FALSE otherwise.
window.mazerunner_turn_right() Rotates the runner clockwise.
window.mazerunner_turn_left() Rotates the runner anti-clockwise.
window.mazerunner_path_on_left() Returns TRUE if the cell immediately to the left of the runner is valid, false otherwise.
window.mazerunner_path_on_right() Returns TRUE if the cell immediately to the right of the runner is valid, false otherwise.
window.mazerunner_path_ahead() Returns TRUE if the cell immediately in front of the runner is valid, false otherwise.

As you are not signed in, you are working on a public project that can be changed by anyone who has the permalink.

Go to the Register page to create an account and protect your project.