Learning Math and CS with Robotics
Sign In

CSP Unit 3 Lesson 6.3

Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
CSP Unit 3 Lesson 6.3

Now that we have had some good practice with functions, let's revisit the earlier activity of drawing a 3x3 grid of squares. Think about how you would create the code to draw the grid by defining functions to draw various component parts, and then calling those functions in an appropriate order. The component parts could be component sub-shapes of the 3x3 grid, or they could be various robot moves that get repeated in drawing the 3x3 grid. It's your choice in how to approach it. Then do it!

Load Blocks
Workspace Save Show C Edit C Ch Shell Console

Rubbish bin