Control the player with the arrow keys. Eat the cookies before they go bad. You lose one point for each cookie that disappears, so hurry up and eat them all! If you get within a certain distance from the enemies they will begin to attack you.
This is a simple demo in response to a question by @Goastpirate307. Thanks to @ffred for the idea to add cookies. Now it is actually a game with a purpose instead of just a demo :) All code and beautiful art by me. The sound is from the Scratch library.