Modify a Bee-Bot

Challenge Level: Growing experience

Learning outcomes

Students will be able to:

Requirement:

Remix the program provided at https://scratch.mit.edu/projects/158364683/ by changing the “pause” button to a “spin” button so pressing it adds the statement “spin” to the “source code” list. When the statement is executed, it should spin the “cat” sprite 5 times (turning it 90 degrees to the right, 20 times).

Testing examples:

You will need to test your program by typing in your own commands to the simulated Bee-Bot to see if it behaves as intended.

To use the program, when the green flag is clicked, give instructions to the cat to catch the mouse by pressing the arrows for the Bee-Bot. Press the “Go” button when you are ready.

Languages

Scratch

What it should look like

Click on the green flag, and use the buttons to see the expected output of your program.

Recommended blocks

Control

Data - List

Sensing

Show solution