Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 166 - 2609_Logicode
P. 166

    8.   Create a game with two sprites, one will be a Player sprite, second will be Cherry
                           sprite.
                           Objective of the game:

                                Move your sprite around the screen and eat as much cherry as you can before the
                                time runs out!
                                Every time you eat the cherry, points are added, and the timer is restored.
                                You will be given time of 10 seconds, and you have to eat all the cherry, if you fail to
                                do so, your game will be over.

                           Code:

                       Output:

                      164   Premium Edition-VIII

| 161 162 163 164 165 166 167 168 169 170 |