Learning CS and Math with Robotics

CSP Unit 3 Lesson 6.3

Piano MinView
Linkbot Image Mindstorm Image
Grid Lines:
Tics Lines:
Width px
Hash Lines:
Width px
Font px
Trace Lines:
Robot 1:
Width px
Robot 2:
Width px
Robot 3:
Width px
Robot 4:
Width px
Simple View: Grid Size: S M L
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 Show Ch Save File Console

Rubbish bin