Arrow keys to move. Space to control tail. X for fireball.
I spend most of three days on this. Thanks to ZappityFlapDad for some help on the graphics. It is less buggy now.