Use up and down arrow keys to move up and down and press space bar to shoot rockets at the monster and deal damage. The monster will attack you back. You win when the monster loses all it's health and you lose when you lose all your health.
I used an idea from a plane game I played. Parts of this game were inspired by classic video boss fights.