Page 93 - 2611_SmartGPT Pro V(5.0) C-4
P. 93

Before playing the game, let’s learn about the blocks and their uses.



                            Blocks                                            Use




                                                 This block turns the bird by the given angle.


                                                 This block allows the bird to fly in one direction till the
                                                 condition is true and it changes direction when the

                                                 condition becomes false.

                                                 The condition allows the bird to move in the direction in do
                                                 section of the block till the condition is true otherwise move
                                                 in the direction in the else section of the block when the
                                                 condition becomes false.


                 To play Bird game, follow these steps:


                           1  Type  www.blockly.games
                           in the address bar of the web
                           browser and press Enter key.









                                         2  Click on the
                                         Bird option.




                 A tip appears on the screen. This tip tells the user how to move the bird forward from the
                 current position towards the nest.





                                                                               3  Click  in the  heading
                                                                              block to change the angle
                                                                              of turning from 90° to 45°.





                                                                               4  Click  on  the  Run Program
                                                                              button to see if the block helps
                                                                              the bird reach the nest or not.




                                                                                             Google Blockly Games  91
   88   89   90   91   92   93   94   95   96   97   98