Space Invaders game on canvas using js
$ npm i
$ node index
Your Objective is to clear all enemies as soon as possible with 3 lives while avoiding enemy fire.
Use (P) to toggle play/pause.
Use (I) to show/hide instructions.
Use {M} to mute/unmute.
Use Left arrow key and Right arrow key to move the spaceship left or right respectively.
Use Space to shoot.