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: | 23/04/2024 13:23 |
Permalink: | http://maze.asdan-computing.org.uk/beb37099-fa03-41c0-a3df-36072dfc4552 |
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.