Hold O the whole time for offense mode. Hold D the whole time for defense mode. Defense: use the up and down arrows or W S to move the broom. You are trying to run into the enemy ships to blow them up. Don't let them run into the yellow or you will lose! Offense: use the up and down arrows or W S to move the broom. You are trying to avoid enemy ships. If one does hit you press the green flag to play again
Nobody helped me with this. It took about 4-5 hours of coding to do. I split it up so I did 45 minutes every day. Have fun playing! :)