Skip to content

uma-oo/space-invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders Game Project

Project Overview

This project is a Space Invaders clone created using plain JavaScript, HTML, and DOM. The game runs at a stable 60 FPS with no frame drops, features smooth animations and controls, and includes a pause menu. The player interacts with the game using the keyboard, and the game includes a scoreboard and countdown timer.

Features & Requirements

Game Mechanics

  • 60 FPS Consistency: The game runs at a stable 60 frames per second with no frame drops.
  • RequestAnimationFrame: Used for smooth and optimized animations.
  • Pause Menu: Includes the following options:
    • Continue
    • Restart
  • Scoreboard: Displays the following metrics:
    • Countdown Timer (time remaining or elapsed)
    • Score (XP or points)
    • Lives (remaining lives)

Performance

  • No Frame Drops: Ensure that the game runs smoothly at all times.
  • Smooth Keyboard Controls: Player actions, like moving and shooting, should be responsive and not require key spamming.

Game Controls

  • Arrow Keys: Move the spaceship left or right.
  • Spacebar: Fire bullets at the invaders.
  • ESC: Opens the menu and let you choose between restart and continue options

Pre-Approved Game Genre

  • The game is based on Space Invaders, a classic arcade game where you control a spaceship that shoots down waves of incoming aliens.

Technologies Used

  • JavaScript: Plain/Vanilla JavaScript to handle game logic and animation.
  • HTML: Basic HTML structure for the game elements.
  • CSS: Styling for the game layout and elements.

Where to play ???

Credits

About

Space Invaders game using OOP and Vanilla Javascript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •