Point at an enemy, press space or click to shoot. Speed is a short speed boost, Damage is a permanent upgrade, and Health ups you health by 5.
This was for school, and the code is madness. So are the comments. I'm going to add a game over and start.