Level name: | Level 3 |
---|---|
Instructions: | This maze introduces the loop command/block. Solving the last maze took a lot of commands, learn how to use the loops to solve the maze with fewer blocks. |
Updated: | 03/12/2024 16:19 |
Permalink: | http://maze.asdan-computing.org.uk/b1df973b-81f9-4213-932b-7f154b3b9168 |
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. |
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.