Google Blockly Games Maze 10 Solution
Congratulations!
You solved this level with 18 lines of JavaScript:
while (notDone()) {
moveForward();
if (isPathForward()) {
if (isPathRight()) {
turnRight();
} else {
if (isPathLeft()) {
turnLeft();
}
}
} else {
if (isPathLeft()) {
turnLeft();
} else {
turnRight();
}
}
}
Are you ready for the next challenge?
Continue Reading Google's Blockly Games Maze 1-10 Solutions





Arduino Genuino UNO Board Info #Arduino...
New Scratch 3 Visual Programming Tool Design #Scratch #Programming...
DiddyBorg V2 Robot Kit: The #DiddyBorg is a six-wheel powerhouse of a self-build robot powered...
Connect to Your Raspberry Pi With SSH From Linux, macOS, or Windows 10 #RaspberryPi...
Raspberry Pi vs Arduino Uno #RaspberryPi #Arduino...
Enable SSH on Your Raspberry Pi #RaspberryPi...