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





Importing the Arduino HC-SR04 Ultrasonic Sensor Library Zip File #Arduino...
Connect to a Raspberry Pi Securely Using SSH #RaspberryPi #CyberSecurity...
Cross Curricular Lessons Motivate Children #Lessons #Coding #Teachers...
Scratch 3 Music Blocks Extension #Scratch #coding...
The most popular topics covered by Dojos are Scratch, HTML/CSS, Python, Raspberry Pi, Arduino, and...
Raspberry Pi PoE HAT Add-On Board #RaspberryPi...