This is a simple implementation of the classic Space Invaders game using HTML, CSS, and JavaScript.
The goal of the game is to shoot all the invaders before they reach the shooter. You control the player at the bottom of the grid using the arrow keys to move left and right, and the space bar to shoot lasers.
- player Control: Move the player left and right using the arrow keys.
- Shooting Lasers: Shoot lasers at the invaders using the space bar.
- Invader Movement: Invaders move left and right, and down the grid.
- Collision Detection: Invaders disappear when hit by a laser.
- Score Tracking: Keep track of the score as you destroy invaders.
- Game Over: The game ends when an invader reaches the shooter.
- Clone the repository or download the source code.
git clone https://github.com/Ares-93/space-invaders.git
- Open the index.html file in your web browser.
- Press the left arrow key to move the player left.
- Press the right arrow key to move the player right.
- Press the space key to fire the laser.
- Destroy all aliens before the touch the player ship.
- Add Sounds
- Better Laser handling
- Improved alien movement
- Better Progression
- Add life counter
- Improve visuals
- Pause and Restart
- Developed by: Mohammad Ariz Haider
- Inspireed by a retro gaming classic.