Games

Debug Maze

Program Flybot to reach the chip. Add arrow blocks, press Run, and fix whatever goes wrong. It's real coding logic, with no code to type. 12 levels.

Level 1/12Stars 0/36

Debug Maze

Program the robot. Run it. Fix the bugs.

Your program0/0 blocks
Levels

How to play

  • Build a program. Tap the arrows to add blocks. Each block moves Flybot one square. On a keyboard, use the arrow keys.
  • Run it. Press ▶ Run (or Enter) and watch Flybot follow your blocks in order.
  • Debug it. If Flybot hits a firewall or flies off the board, the faulty block gets a 🐞. Tap any block to select it, then tap an arrow to change it, or ⌫ to delete it.
  • Loops unlock on level 4. Select a block and tap ×+ or ×− (or press + / −) to repeat it up to 6 times. With nothing selected, they change the last block. That's how you fit long routes into a few blocks.
  • Earn 3 stars: ⭐ reach the chip, ⭐ collect every purple byte, ⭐ use no more blocks than the best solution.

Why "debug"?

Every programmer spends a lot of time fixing mistakes in code, called bugs. The word has a fun history: in 1947, engineers found a real moth stuck inside Harvard's Mark II computer and taped it into the logbook as the "first actual case of bug being found". Read the story.

Debug Maze teaches the same thinking as real coding: give exact instructions in order, repeat steps with loops, and when something breaks, find the exact step that went wrong. The game runs entirely in your browser, the sounds are generated in code, and your progress is saved only on your device.