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
Python Built-In Functions #Python #Coding #Teachers...
Arduino Uno Board #microcontroller #Hackerspace...
How to Include an Arduino Library in a Sketch #Arduino #Coding...
Arduino Uno Thermometer Project with LM35 Sensor and LCD Display #Arduino #Hackerspace #Project...
Arduino IDE Software Folder #Arduino #Software...
Robot Car DC Motors #Robot #Makerspace #STEM...