The wizard is randomly shooting "magic" at the princess (you). The goal is to find the frogs which are randomly appearing behind the rocks without getting hit by the "magic".