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: | 26/05/2021 09:17 |
Permalink: | http://maze.asdan-computing.org.uk/983c61e8-82d6-4df6-a2cd-32318ccde75f |
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.