Use w, a, s to move and jump. Try to collect apples before time runs out, but avoid the crabs who will steal your apples. You can wrap around the edges of the screen and even fall through the pit unharmed.
I used a book to make this. Thanks to @griffpatch for the Scratch animation frames. I think I got the music from @-EmberAnimations-