Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 698 Bytes

jazz.md

File metadata and controls

21 lines (18 loc) · 698 Bytes

@flyoutOnly true

@hideIteration true

@explicitHints true

Big Band Jazz

Step 1

The Jazz Musician has lost his trumpet and is using a kazoo instead. Code your Agent through the maze and collect the trumpet.

~ tutorialhint

Drag ||agent.agent move|| into ||blocks.on start|| to give instructions to your agent on how to move. Count how far and in what direction the agent needs to move and use the agent move block direction (UP, DOWN, LEFT, RIGHT) and distance to move to the trumpet. At the end of your code use ||agent.agent collect all|| to collect the trumpet.

    agent.move(FORWARD, 0)
    agent.collectAll()
\\