Page 48 - CG_v2.1_flipBooks_class_2
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 an angle to the users. This game
                  is used to:
                     rotate the objects by non-conventional angles.

                     apply different conditions used in programming.

                     specify position of objects on ‘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                                            Used to


                                              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.

                                              The condition that 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 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    Computer Genius (V2.1)-II
   43   44   45   46   47   48   49   50   51   52   53