Using P5.js I created a simplified version of the classic arcade game Space Invaders. The game had 3 main constructors, the aliens, the ship and the bullets. along with using the p5 setup to pull everything together.
Creating states for win and lose games as well as a press start screen and high score. The keyboard handled the controls using p5’s
KeyReleased() to make our ship stop moving when the keys are released.