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
Change Your Raspberry Pi Password #RaspberryPi...
Start a Code Club in Your School @CodeClub #Coding #Teachers #School...
EduBlocks Example Button Code #EduBlocks #Coding #Teachers...
When to Teach Coding in Primary Schools #Coding #Teachers...
3D-Printed Myoelectric Arm Prosthetic Prototype: Students built a #3D printed #Myoelectric #prosthesis, with a lot...
Arduino Mega Board Makerspace Project #Arduino #Makerspace...