Page 144 - Computer_Genius_v2.1_C7_flipbook
P. 144

Output:


























                                                                                            Leadership & Responsibility
                                                                                            Critical Thinking
                  C.   Eat the Fruit

                       Create a game with three sprites, one will be a Player sprite, second will be Fruit sprite and
                      another will be a Junk food sprite.


                      Objective of the game:

                         Move your sprite around the screen and eat as much fruit as you can before the time runs out!


                         Every time the fruit is caught, points are added, and the timer is restored.

                         You will be given three lives to play the game, once you hit third time to the junk food, your

                         game will be over.











                      142    Computer Genius (V2.1)-VII
   139   140   141   142   143   144   145   146   147   148   149