Page 118 - C_GPT _V4 _class_5
P. 118

The Repeat and Repeat Until blocks
              can be used to display the table of a
              number input by the user. The script

              for the sprite can be like this (using
              Repeat Until block).

              CREATING A GAME


              Let us create a ping-pong game.

              Create the given script.














                                                                                    Line Sprite         Nano Sprite














                     Crystal sprite                   Crystal sprite                       Magic Wand sprite



              Click on the Green Flag to play the ping pong game using mouse.

































                        CodeGPT (Ver. 4.0)-V
                116
   113   114   115   116   117   118   119   120   121   122   123