Page 48 - ThinkGPT_V2.1_C2_Flipbook
P. 48

In the previous class you have learnt about the Blocky program and its two types of
                  games: Puzzle and Maze. Now, we will learn about the next games and their blocks

                  in detail.

                  Let us start with Bird game.

                   Bird Game

                  The Bird game teaches the concept of rotation by the angle to the users. This game
                  is used to:


                     rotate the objects by the angles.

                     apply different conditions used in programming.

                     specify the position of objects on the ‘x’ and ‘y’ axis.

                     change instructions in the variable blocks.

                  In this game, the user has to move the bird from the initial position to the nest after
                  catching a worm on the way. This game has 10 levels. The difficulty increases with

                  simple turning in a single direction to check conditions before turning in multiple
                  directions.

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



                            Block                                              Use


                                              This block turns the bird by the given angle.



                                              This  block  is  a  condition  that  is  true  till  the  bird  has  not
                                              gotten the worm.



                                              If a value is true in the if part of the block, then the value of
                                              do part will play. Otherwise, the value of else part.






                  To play Bird game, follow the given steps:

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

                             Enter key. A Blockly Games welcome screen appears.






                       46    Premium Edition-II
   43   44   45   46   47   48   49   50   51   52   53