Solved the Google Blockly maze!

Yesterday I read about an MIT Scratch clone: google-blockly.
They have some nice demo programs and one involves solving a maze puzzle.

Instead of eating some healthy food during my lunch break I had a lot of fun creating my solution to the puzzle. Here it is:

I also tried to switch all "left" and "right" and it still works - yeah!
Do you know better (shorter) solutions?

-- Juve

Comments

Viral :) said…
I got a smaller solution. But not sure if its extensible. Check this out: http://viralpatel.net/blogs/google-blockly-solved/
ManeatingCouch said…
This comment has been removed by the author.
ManeatingCouch said…
The shortest I could get was 6 elements. It takes forever, though:

(Repeat Forever)
--(Move Forward)
--(Turn Right)
--(Repeat While)(Wall Ahead)
----Turn Left