Blockly Games : Maze

Today I passed the level 10 from the Maze of Blockly Games in this link : https://blockly.games/maze?lang=en&level=10&skin=0#7dqfd3

Resolution :

  1. place a block that repeats a command until get in the end of the stage .

2. inside of the repeater block place two blocks, one of them have one conditional and the other have two conditionals.

3. the two conditionals block come first inside of it make this : if path “ahead” do “move forward” else “turn left”

4. and inside of the one conditional block make this : if path “to the right” do “turn left

Logic :

  1. if you are going to use a repeater block, you won’t need a lot of blocks.
  2. in the two conditionals block if you don’t have a path to go forward you turn left and the same thing if you can’t turn left.

Leave a comment

Design a site like this with WordPress.com
Get started