Press a to move left; d to move right. w to jump. Crabs will steal one apple. The goal is to get as many apples as possible within 1 minute.
Credits to a book by Al Sweigart.