Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.48 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.48 KB

Space Invaders Game:

Welcome to the Space Invaders game! This classic arcade game has been recreated with modern web technologies using HTML, CSS, and JavaScript. Navigate your spaceship, shoot lasers, and defend Earth from waves of invading aliens!

Features:

Classic Gameplay: Relive the nostalgia with the classic Space Invaders gameplay. Movement Controls: Move the spaceship left and right using arrow keys. Shooting: Shoot lasers upwards to destroy aliens. Dynamic Alien Movement: Aliens move side to side and descend as they approach the edges. Win/Loss Conditions: Win by destroying all aliens or lose if aliens reach the bottom of the screen.

How to Play:

Start the Game: Click the "Start" button to begin. Control the Spaceship: Use the Left Arrow key to move left. Use the Right Arrow key to move right. Press the Up Arrow key to shoot lasers. Objective: Destroy all the aliens before they reach the bottom of the grid. Getting Started To run the game locally, follow these steps:

Clone the Repository:

bash Copy code git clone https://github.com/mohitpatwari/memory-game.git

Open the Game:

Open the index.html file in your web browser. File Structure index.html: The main HTML file. styles.css: Contains the styles for the game grid and elements. script.js: JavaScript code for game logic and interactions. assets/: Directory containing sound effects and images.

Dependencies:

No external libraries or frameworks are used in this game. It relies solely on vanilla HTML, CSS, and JavaScript.