Maze Game

Guide your character through mazes using code blocks to learn sequential execution and loops.

Level 1 / 10

Game status and execution results will appear here...

// Generated JavaScript code will be displayed here...
Mission

Guide your character to the red finish square by programming its movements through the maze.

Goal: Reach the finish line using the minimum number of code blocks.
Hint:
1/3

Use 'move forward' blocks to move one step at a time. Use 'turn left' or 'turn right' blocks to change direction.

Select Level
Controls
  • Move Forward - Move one step in current direction
  • Turn Left - Rotate 90° counterclockwise
  • Turn Right - Rotate 90° clockwise