Skip to content

Abdulla-22/make-your-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders Game

Welcome to Space Invaders, a single-player JavaScript game inspired by the classic arcade game! This project is built without using frameworks or canvas, relying entirely on plain JavaScript, DOM manipulation, and HTML.

Features

  • 60 FPS: The game runs at a smooth 60 frames per second to ensure consistent motion with no frame drops.
  • Keyboard Controls: Controlled entirely using the keyboard for smooth, uninterrupted gameplay.
  • Pause Menu: Pause the game at any time, with options to continue or restart.
  • Scoreboard: Displays your score, remaining lives, and game timer.

How to Play

  • Use the arrow keys to move your ship left and right.
  • Press the spacebar to shoot at the invading aliens.
  • Defend yourself and eliminate all aliens before they reach your base!

Instructions to Run the Game

  1. Clone the repository or download the project files to your local machine.
  2. Open the index.html file in your web browser. You can do this by double-clicking the file or right-clicking it and selecting "Open with" followed by your preferred web browser.
  3. Enjoy playing the game!

Project Structure

.
|-- appHandler.js
|-- images
|   |-- bg.gif
|   |-- bom.png
|   |-- invader.png
|   |-- invedorLaser.png
|   |-- shooter.png
|   `-- shot.webp
|-- index.html
|-- readme.md
|-- sounds
|   |-- invaderkilled.wav
|   |-- loser.mp3
|   |-- shoot.wav
|   `-- win.mp3
`-- style.css

Performance

  • This project leverages requestAnimationFrame for smooth animations.
  • Developer tools are used to monitor performance and ensure that the game runs at a stable 60 FPS.

Authors

  • Abdulla Yusuf (abdyusuf)
  • Habib Mansoor (hmansoor)
  • HUSAIN JAAFAR (hujaafar)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published