This is a puzzle where you are a programmer, sending commands to execute a task. You have limited amount of commands, so you have to choose them carefully. You are the purple square. Get all greens, avoid reds. You can issue commands to the purple square by clicking on the “main” and “func” squares. Then click RUN to execute these commands .
*F => This will redirect the execution to the “func” squares. After they are done, execution goes back to the next “main” square.
*LM => This is the “last main” command, you can only use this in the « func » squares.