Use the arrow keys or WASD keys to navigate around the incoming meteors, and blast through them using the spacebar. Watch out though, as your laser does have a cooldown. Survive as long as you can without being wrecked by the meteors.
Inspiration for the game is from Space Invaders. Coding is original and by me.