Level name: | Level 10 |
---|---|
Instructions: | |
Updated: | 14/09/2025 05:32 |
Permalink: | http://maze.asdan-computing.org.uk/7b4a1bbd-a482-496b-8ba7-6f3626d5975f |
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. |
window.mazerunner_get_visit_count() | Returns the number of times the runner has visited the current cell. |
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.