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
Connect to Your Raspberry Pi With SSH on Older Windows PCs #RaspberryPi #Windows...
Arduino Board Electronics Projects #Arduino #Electronics #Teachers...
UCAS Teacher Training applications at End of Cycle 2016 #UCAS #Teacher #Training...
Raspberry Pi Camera Module V2 Attached to a Raspberry Pi 3 Model B+ #RaspberryPi...
Arduino Board Timeline #Arduino #Makerspace...
Raspbian SSH Tutorial #Raspbian #RaspberryPi...