The goal of the game is to color the fading objects and to survive as long as possible. To color the object, press space. If you see a bird, use the up or down arrow to hit it with a sword. If you do, it will decrease the speed.
Thank you Bill Nye, you really are a science guy.