I'd appreciate some help finishing this blockly maze.
https://blockly-games.appspot.com/maze?lang=en&level=10&skin=0
Not sure whether it is optimal solution, but it works:
while (notDone()) {
moveForward();
if (isPathLeft()) {
if (isPathForward()) {
if (isPathRight()) {
turnRight();
} else {
turnLeft();
}
} else {
turnLeft();
}
} else {
if (isPathRight()) {
turnRight();
}
}
}