Page 144 - Computer Genius Class 07
P. 144

Output:


























                                                                                            Leadership & Responsibility
                                                                                            Critical Thinking
                  C.   Eat the Fruit

                          reate a game  ith three sprites  one  ill  e a  layer sprite  second  ill  e Fruit sprite and
                      another  ill  e a  un   ood sprite.

                      Objective of the game:


                          o e your sprite around the screen and eat as much  ruit as you can  e ore the time runs out

                           ery time the  ruit is caught  points are added  and the timer is restored.

                           ou  ill  e gi en three li es to play the game  once you hit third time to the  un   ood  your
                         game  ill  e o er.







                      142    Computer Genius-VII
   139   140   141   142   143   144   145   146   147   148   149