Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 111 - 2609_Logiccode
P. 111

    6  Drag the if-then block and drop it below
                                                                          the set to block inside the on start block.

                              5  Click on the Logic
                             blocks category.

                        7  Drag the less than block from                                    8  Drag the num variable from
                       the  Logic blocks  category and                                     the  Variables blocks  category
                       drop it into the condition area.                                    and drop it into the first value
                                                                                           box of the less than block.

                                                                                            9  Click on the down arrow of
                                                                                           the less than block and select
                                                                                           the > sign.

                                    10 Drag the splash block from
                                    the Game blocks category and
                                    drop it inside the if block.

                                                                    11  Type Number is positive in the message
                                                                   area of the splash block.

                     The output appears on the Game simulator.

                                                                                             More on MakeCode Arcade  109

| 106 107 108 109 110 111 112 113 114 115 116 |