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.
- 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)
- 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.
- 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
- The game is based on Space Invaders, a classic arcade game where you control a spaceship that shoots down waves of incoming aliens.
- 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.
- Collaborators : DarkMethoss and srm