Skip to content

Anthony01M/space-invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders

This project is a simple version of the classic Space Invaders game. The player controls a ship and shoots descending enemies before they reach the bottom. The game includes features such as a boss enemy every 10 levels, a restart button, and a game over screen.

Features

  • Control a ship to shoot descending enemies.
  • Boss enemy appears every 10 levels.
  • Game over screen with a restart button.
  • Responsive design for mobile and desktop.

Technologies Used

  • HTML
  • CSS
  • JavaScript

Installation

  1. Clone the repository:
    git clone https://github.com/Anthony01M/space-invaders.git
  2. Navigate to the project directory:
    cd space-invaders
  3. Open index.html in your browser to play the game.

Usage

  1. Use the left and right arrow keys to move the ship.
  2. Press the spacebar to shoot bullets.
  3. Shoot all enemies before they reach the bottom.
  4. A boss enemy appears every 10 levels.
  5. If the player is hit or an enemy reaches the bottom, the game is over.
  6. Click the "Restart" button to play again.

License

This project is licensed under the MIT License. See the LICENSE file for details.


This project is part of my portfolio. Feel free to check out my other projects on GitHub.