Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 150 - 2609_Logiccode
P. 150

    3.  Create a game with three sprites, one will be a Player          21 st   #Leadership & Responsibility
                            sprite, second will be Fruit sprite and another will be        Century   #Critical Thinking
                                                                                            Skills
                            a Junk food sprite.
                            Objective of the game:
                            a.   Move your sprite around the screen and eat as much fruit as you can before the time
                                runs out!

                            b.  Every time the fruit is caught, points are added, and the timer is restored.
                            c.   You will be given three lives to play the game, once you hit third time to the junk food,
                                your game will be over.
                            Code:

                         Output:

                                                                                                21 st
                         4.  Write the HTML code to create the following table.              Century   #Collaboration
                                                                                               Skills  #Information Literacy
                                                              Chemical Formulas

                                                       Water                     H O
                                                                                   2
                                                       Oxygen                     O 2

                                                       Carbon Dioxide            CO  2

                      148   Premium Edition-VII

| 145 146 147 148 149 150 151 152 153 154 |