This is a classic remake of the Space Invaders arcade game, built using HTML5, CSS, and JavaScript. Players control a spaceship and attempt to shoot down waves of aliens before they reach the bottom of the screen.
- Classic Gameplay: The nostalgic gameplay of Space Invaders with modern browser support.
- Player Controls: Use keyboard controls to move the spaceship and shoot.
- Wave System: Aliens increase in difficulty with each wave. (Future implementation)
- Score Tracking: Keep track of your score as you defeat aliens.
-
Frontend:
- HTML5 (Canvas)
- CSS3
- JavaScript (ES6)
-
Game Development:
- Vanilla JavaScript for game logic
- HTML5 Canvas API for rendering game graphics
To run the game locally on your machine, follow these steps:
-
Clone the repository:
git clone https://github.com/Mitchenya/Space-Invaders.git cd Space-Invaders -
Open the
index.htmlfile:You can directly open the
index.htmlfile in your browser to play the game.open index.html
Alternatively, you can serve the game using a local server such as
live-server:npx live-server
-
Enjoy the game!
-
Controls:
- Use the left and right arrow keys to move the spaceship.
- Press the spacebar to shoot at the aliens.
-
Objective:
- Shoot down all the alien invaders before they reach the bottom of the screen.
-
Scoring:
- Earn a timed score by completing the wave as fast as possible.
- Your time will be displayed at the top of the screen.
Distributed under the MIT License. See LICENSE for more information.