Close
Close full mode
logoMakeCode AP CSP

Robots in MakeCode Arcade

Students can use the following MakeCode Arcade activities to practice Robot sequencing, iteration and selection.

  1. 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.

Asphodel game simulator
Asphodel game simulator

  1. Robot Drawing program

Robot drawing game simulator
Robot drawing game simulator

  • 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:

Robot Drawing Toolbox drawer
Robot 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!
πŸ“˜ Unit 3 - AAP Part 1 β€” Previous
Practice Robot Question
Next β€” πŸ“˜ Unit 3 - AAP Part 1
Day 8