Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 56 - Ai Robogenius
P. 56

    You will observe that the on start and forever blocks are already present
                                    in the workspace.

                        STEP - 4   Drag the play melody block and place it inside the on start block from
                                     the Music category. Choose the melody ringtone from the drop-down
                                     list and set it to looping in background.

                                              on   start

                                                play    melody ringtone     looping in background

                        STEP - 5   Drag the  show icon block  from the  Basic  category  into  the  forever
                                     block. Change the icon to chess board.

                        STEP - 6   Drag the pause (ms) block and place it below the show icon block. Set
                                     the pause to 500 ms.

                                                                forever

                                                                  show icon

                                                                 pause (ms)  500

                        STEP - 7   Drag the show icon block from the Basic category into the forever block,
                                     placing it below the pause (ms) block. Change the icon to silly.

                        STEP - 8   Drag another pause (ms) block and place it below this show icon block.
                                     Set the pause to 500 ms.

                                                                forever

                                                                  show icon

                                                                 pause (ms)  500

                                                                  show icon

                                                                 pause (ms)  500

                                     Your block-based code should now look like this.

                                     AI RoboGenius - V
                     54

| 51 52 53 54 55 56 57 58 59 60 61 |