MBot – Battle

Tools

2 mBot

Step  1 : Choose MBot in devices & connect the mBot to the computer in the programming interface

On the computer: mBlock application

OR Connect the mBot to the tablet and go to the programming interface (Dedicated button on the upper right-hand corner)

Step  2 : Create an arena

Create an arena delimited by a 2cm large black line

Step  3 : Make the Mbots keep moving forward and do not go out of the arena

If it detects a black line, make it turn.

Step  4 : Make the MBots go against each other

If it detects an obstacle, make it go forward.