Code Maze
Code Maze is a logic-based puzzle game where you learn to code by navigating the mazes and choosing the right commands to escape them. Let's start!
How to play Code Maze Online
Use the command prompt to input a sequence of commands for your block to take. Complete each level by getting the blocky robot to the end of each map, where the destination icon is placed.
Click on the commands to add them to the code. They are:
- player.move - move one step forward in the direction you are facing;
- player.turnLeft - face your left;
- player.turnRight - face your right;
- player.interact - interact with the buttons that open doors;
- for (n) {<action>} - execute one or more actions for a number of iterations;
Mind your energy!
You can only make moves as much as your robot has energy, and in each level you start with a set amount. Use the limited energy to find the fastest way to your goal. Running out of energy or falling off the map causes you to lose the level.
Run the code effectively to earn rewards!
- Click Start to run your code and navigate the maze;
- Click Reset to undo all commands and start again from scratch;
Based on how fast you solve each level, and how many number of moves you make to achieve it, you gain from one to three stars per level. Finding the most optimal path and code will lead to the biggest rewards!
Benefits of the game:
- coding games give you problem-solving skills;
- coding games develop your cognitive functions;
- coding games improve your logical functions and thinking;
How to play?
Use the mouse.
Game Comments
Enjoy an Ad-Free Experience* – Play Without Interruptions, Leave Comments, Earn Points, and Get Extra Perks!