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
Cubetto Playset Coding Kit #Cubetto #Coding...
3D-Printed Myoelectric Arm Prosthetic Prototype: Students built a #3D printed #Myoelectric #prosthesis, with a lot...
Scratch, EduBlocks, and Python Say Hello Coding Card #Scratch #EduBlocks #Python...
How to Confirm a 3rd Party Arduino Library was Installed #Arduino...
Google AIY Vision Kit: The #AIY Vision Kit from #Google lets you build your own...
Connect Your Raspberry Pi to the Network #RaspberryPi...