0
Your Cart
0
Your Cart

Mai-Z Screen-Free Programming Challenge Answers

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!

LESSON 1
CHALLENGE:
Can you program Mai-Z to move forwards and then return to the start point?

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.

LESSON 2
CHALLENGE:
Can you use the ‘Spin 120-degrees’ block to make Mai-Z draw a triangle?

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.

LESSON 3
CHALLENGE:
Can you program Mai-Z to sound the horn and flash the indicators when an obstacle is detected?

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.

LESSON 4
CHALLENGE:
Can you program Mai-Z to flash the indicators left or right before turning a corner?

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.

SHARE:

Leave a Reply

Your email address will not be published. Required fields are marked *