Skip to content

A classic Space Invaders game built with JavaScript, featuring a grid-based layout where players control a shooter to defend against descending alien invaders. The game includes basic mechanics such as moving the shooter left and right, shooting laser beams, and handling game start/reset functions.

Notifications You must be signed in to change notification settings

Mohitpatwari/Space-Invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A classic Space Invaders game built with JavaScript, featuring a grid-based layout where players control a shooter to defend against descending alien invaders. The game includes basic mechanics such as moving the shooter left and right, shooting laser beams, and handling game start/reset functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published