The goal of the game is to help the scarab sort the colored balls into baskets by creating an algorithm based on the flowchart. The child places the blocks with the commands in the nodes of the diagram, and immediately sees the result of his work: the balls are filling baskets, demonstrating how the conditional operator [IF ... ELSE] works.