RoboBlocky
Sign In
Learning Math/CS/Engineering Design with Robotics
Grid Size: S M L Simple View: MinView:

Although we could use the "turn" code block with the "Right" option to turn right, let's get more practice with functions by defining a "right" function to turn right, using the pre-placed code block. (Change "do something" to "right".) Fill it with turnLeft(angle 90) commands so that the function, when called, will turn the Linkbot 90 degrees to the right. Then add the code blocks that will use the "right" function (found in the Functions tab) and driveDistance (along with traceColor and traceOn) to draw a red rectangle with a width of 6 and height of 12.

Piano
Workspace Load Save Ch Ch Shell Console
Lock
roboblockyA832.ch
Time