Code for SpaceShooter, a Space Invaders-like game written using HTML5 canvas.
-
Left and right arrow keys move the ship left and right, respectively
-
Spacebar shoots bullets
-
Up button starts the game (or restarts the game at game over)
Can be played at http://chriszimmerman.net/spaceshooter/index.html