Hello, and welcome! We hope you’re enjoying coding Mai-Z The MouseBot using the screen-free instruction blocks, and are ready to check your answers to the challenges!
There are multiple ways you can achieve this challenge.
You need a start block, a ‘forwards x units’ block, a ‘spin 180°’ block, and the same ‘forwards x units’ block you started with.
This example should make Mai-Z move forwards 3 units, spin 180 degrees and move forwards 3 units, returning to the start point.

To create an equilateral triangle, you will need to use a ‘Run this Program Three Times’ start block.
You will then need to follow it up with a ‘go forwards x units’ block, and a ‘spin 120°’ block.

Here is one way in which you could code Mai-Z to sound the horn and flash the indicators when detecting an obstacle.
Remember to include your spin block so that Mai-Z spins and continues to move forwards.
Experiment with the different spin blocks to see how Mai-Z responds.

Here is the example code with the indicator LEDs added in.
When driving, it’s important to indicate before turning a corner, so that other drivers and pedestrians can see that you are about to turn. Therefore, the orange ‘indicate’ blocks go before the pink ‘turn’ blocks.

