Space Invaders
This is a simple Space Invaders game implemented in JavaScript using the HTML5 Canvas API.
Installation
Clone the repository to your local machine:
https://github.com/K8215/space-invaders.git
Navigate to the project directory:
cd space-invaders
Open index.html in your web browser to start the game.
Usage
The game starts automatically when you open index.html in your browser. The player controls a spaceship that can move and shoot missiles to destroy aliens.
Gameplay
- The player controls a spaceship that can move laterally.
- Aliens fire lasers and gradually advance down the screen.
- The player can shoot missiles to destroy the aliens.
- Shields will block alien lasers, but degrade on hit.
- The game ends when the player’s spaceship is shot or the aliens breach the shields.
Update – 1/28/25
- Shields will now remain centered on hit.