Robots in MakeCode Arcade
Students can use the following MakeCode Arcade activities to practice Robot sequencing, iteration and selection.
- Play the Asphodel Follows Directions (Asphodel) game. In this example, you can think of Asphodel as the "Robot". Students must use the cursor to pick up and move arrows creating a path for her to follow to get to the trophy.
- Click on the link above to open the Robot Drawing program in MakeCode Arcade.
- Press the A button to see the Robot move.
- Click the Edit Code button to open the project in the MakeCode Arcade editor.
- Read through the code to understand what it's doing (you may want to use the Debugger and the Slow Motion feature to step through the code line by line).
- Notice the blocks in the Robo Drawing Toolbox drawer:
- Delete the existing code.
- Try using the Robo Drawing blocks to move the Robot into the following positions:
- Bottom right corner
- Center of the screen
- Top left corner
- Try using Repeat loops to avoid using duplicate blocks.
- Create your own Robot drawing!