Use left and right arrow keys to move. Your weapon automatically shoots. Hit the red guys to get money, which you can see how much you have in the top right corner. Use the money to upgrade your weapon. It gets harder and harder as they keep spawning more frequently. After all the red guys are gone, the boss will spawn. There's a health indicator showing how much health he has left, so keep shooting. He will also start spawning little red guys, so shoot them too. Good luck!
Just a little project I made for fun All of the sounds come from Scratch