Page 61 - Touchcode_C2_Flipbook
P. 61

CHALLENGE                                    4









                                                      FINDING THE WAY


                 Which set  of instructions  will you write in the  program  to help  the
                 butterfly reach the flower? It can move left, right, up and down. It cannot

                 pass through the white blocks.






















































                         1       Down        Right                      2          Left   Down


                         3       Up   Down                              4          Right   Down




                                                                         Level 4: Algorithmic Intelligence       59
   56   57   58   59   60   61   62   63   64   65   66