Page 75 - Dig_CodeAI_V2.1_Class_7
P. 75

6  Drag the if-then-
                                                                                               else block and drop
                                                                                               it below the set to
                                                                                               block inside the on
                                                                                               start block.
                    5  Click on the
                    Logic blocks
                    category.









                                        7  Drag the equal block
                                       from the Logic blocks
                                       category and drop it
                                       into the condition area.












                                8  Drag the remainder
                                of block from the Math
                                blocks category and drop
                                it into the first value box
                                of the equal block.










                                                                                9  Drag the number block from
                                                                               the Variables blocks category
                                                                               and drop it into the first value
                                                                               box of the remainder of block.




                                                                               10 Type 2 in the second value
                                                                               box of the remainder of block.





                                                                                  More on MakeCode Arcade     73
   70   71   72   73   74   75   76   77   78   79   80