Page 117 - Chinmaya_C6_flipbook
P. 117

GETTING STARTED WITH BLOCK CODING

                 Block-based  coding  uses drag and drop  approach. It’s a programming  activity  to  develop
                 computational thinking. You can use coding instruction 'blocks' to perform a variety of tasks.
                 To display a message 'Hello World'

                 To perform the task, follow these steps:

                 Step 1:  Visit the link: https://arcade.makecode.com/, Makecode Arcade opens.

                 Step 2:   Click on 'New Project'         . Write the name of your project 'Hello World..!!', and then

                         click on 'Create'.
                        The following screen appears:





                                                                         Blocks are placed
                                                                          here to execute
                                                                             the steps



                 Step 3:   From the 'Blocks', choose 'Game', and then select  'splash', it will appear on the workspace
                         as shown:


                                                                                Coding Tip!

                                                                                Splash block is used
                                                                                to display a message
                                                                                on the screen for
                                                                                some time.

                                                                                      splash ''   ''


                 Step 4:  Drag the 'splash' block, and drop it in the 'on start' block.

                 Step 5:   Type the message 'Hello World..!!' in the 'splash' block, and the output screen will display
                         the message 'Hello World..!!'



                                             Hello World..!!              Hello World..!!









                             Well done, you have created your first block code program!








 114  Premium Edition-VI                                                     Techipedia (Microsoft MakeCode Arcade)  115
   112   113   114   115   116   117   118   119   120   121   122