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
How to Install an Arduino Library from a Zip File #Arduino...
Raspberry Pi vs Arduino Uno #RaspberryPi #Arduino...
Nybble Cat Robot ...
Arduino Leonardo Microcontroller Board #Arduino...
Importing the Arduino HC-SR04 Ultrasonic Sensor Library Zip File #Arduino...
Port COM4 Arduino Genuino UNO #Arduino...