Learning Math and CS/STEAM with Robotics
Sign In
Piano
Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
If-Else Statements: Drive the Robot to a Specified xy Coordinate
If-Else Statements: Drive the Robot to a Specified xy Coordinate

Generate a random integer between 1 and 100. If it is less than 30, drive the robot directly to the point (0, 5). If it is greater than or equal to 70, drive it directly to the point (5, 5). Otherwise, drive it to the point (5, 0).

Hardware
LArduino
Workspace Load Save Ch Ch Shell Console
Lock
roboblocklyA345.ch
Rubbish bin
Time