Page 53 - Dg_code_V2.1_Flipbook_Class2
P. 53

The Loops category has one block:

                    The repeat…times do block is used to make the turtle repeat
                    tasks given inside the block for given number of times.

                  Step 3   Drag the following blocks and change required values to draw a square.

                  Step 4   Click on the Run Program button to see if the drawing is complete or not.

                  Step 5   If the drawing is not complete, the Reset button appears in place of the
                            Run Program button. Click on the Reset button to return the turtle to the
                            original position. Check the block again and make necessary changes.


























                  Step 6   Once the drawing is complete, a dialog box appears on the screen and asks
                            the user whether to start the next level or not. Click on the OK button to
                            start the new level.




























                 Let us play the next level. Drag the required blocks and change their values to draw
                 a pentagon.


                                                                               More on Google Blockly Games    51
   48   49   50   51   52   53   54   55   56   57   58