Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 113 - 2606_PlugGPT_C6_Flipbook
P. 113

    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.

                                                                                                ''   ''

                     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!

     110  Premium Edition-VI                                                     Techipedia (Microsoft MakeCode Arcade)  111

| 108 109 110 111 112 113 114 115 116 117 118 |