Use mouse to move the gem will follow you and the dots will eat you but they also eat their brethren. Usually there will only be one dot left by the time you finished escaping to the castle. If they eat you they transport you to the hayfield and strip you of your gemly powers.
Instructions were inspired by @crocadilian (my friend) and he inspired the dot eating each other part.