An Erasmus + innovation project
Since our rover is an antipersonnel mine detector and deactivator rover, the rover has been equipped with a new instruction (DEACT) that will deactivate the mine just in front of the rover.
Action: The rover will deactivate a mine in the square in front of it.
Here is an exercise that combines sequential instructions with iterative instructions and also uses the new sequential DEACT instruction:
The solution to this exercise will be the following one:
In this section you will learn about the strategy we have followed to teach our students programming in a simple and fun way. Learning to code can be a motivating activity.
In this section you will learn about the basic structures of our programming language. We call this set of instructions DEMETER I.
In this section you will learn about the evolution of the initial DEMETER I instruction set. We will call the full language DEMETER II. In addition to having new instructions, the minefields have new elements that increase the difficulty.