Page 129 - CloudGPT_C8_Flipbook
P. 129

Practical Assessment






                                                                                           Experiential Learning
                   MakeCode Arcade
                                                                                           Critical Thinking
                     Eat and level up

                 A.  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:






















































                                                                                       Practical Assessment   127
   124   125   126   127   128   129   130   131   132   133   134