GN Math

Block Code Maze Unblocked

Stack drag-and-drop code blocks that walk an astronaut to the flag across ten mazes.

now playing: Block Code Maze

No typing, no syntax errors, just puzzle pieces. Each block is one instruction, and you click them together into a stack that an astronaut follows step by step. Get the order right and it reaches the flag. Get it wrong and you see exactly where your plan broke.

Block Code Maze unblocked uses Blockly Games from Google and walks through ten levels. The early mazes need two or three blocks. By the end you are writing a small program that can handle a path it has never seen in detail.

How to play Block Code Maze

The maze sits on the left. On the right are a toolbox of blocks and an empty workspace. Drag blocks into the workspace and attach them under each other in the order you want them to run.

Press Run Program and the astronaut acts out the stack. Reach the red flag and the level is solved, with a look at the JavaScript your blocks turned into. Hit a wall or stop early, and you can press Reset, move some blocks and try again.

New blocks show up as you go. First come moving and turning, then a loop that repeats until the goal, then checks that ask whether a path is open ahead or to the side. Many levels give you a limited number of blocks, so long chains of single steps stop working.

Controls

To…MouseTouch
Add a block to your programDrag it from the gray toolbox into the white workspaceDrag it with your finger
Join blocksDrop a block just under or inside another until it clicks in placeDrop it under or inside another block
Remove a blockDrag it onto the trash can or back to the toolboxDrag it onto the trash can
Change a direction in a blockClick the small drop-down arrow on the blockTap the drop-down arrow
Run or stop the programClick Run Program, then ResetTap Run Program, then Reset
Jump to another levelClick a dot or number at the topTap a dot or number

Tips

  • Walk the path in your head first. Count forward moves and turns before you drag a single block.
  • Spot the pattern. When the route repeats the same move and turn, put that pair inside the loop instead of stacking copies.
  • Treat the block limit as a hint. If you're running out, the puzzle is asking for a loop or a check instead of extra steps.
  • Left and right belong to the astronaut. When it faces down the screen, its left is your right, so trace turns from its point of view.
  • Follow one wall on the final mazes. A loop that moves forward and turns whenever an opening appears on one side can solve many twisty paths.

Block Code Maze questions

Is this good for someone who has never coded?

Yes. It starts with a two-block solution and adds one idea at a time, so a beginner can finish the early levels in minutes.

Does it remember the levels I finished?

Yes. Solved levels are saved in your browser, and the level dots at the top stay filled in on the same device.

Can I play it on a phone?

Blocks can be dragged with a finger, but the maze and workspace need room side by side. A tablet held sideways or a laptop is far easier.

Homework: games like Block Code Maze

all coding games