Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Arcade Shooter 🎮

A classic arcade-style shooter game built with HTML5, CSS3, and JavaScript.

Features

  • Player Control: Move left and right with arrow keys
  • Shooting: Press spacebar to shoot bullets
  • Enemy Waves: Defeat all enemies to advance to the next level
  • Progressive Difficulty: Enemies get faster and more numerous as you level up
  • Lives System: You start with 3 lives
  • Score Tracking: Earn 10 points for each enemy defeated
  • Game States: Start, Pause, Resume, and Reset functionality

How to Play

  1. Click the Start Game button to begin
  2. Use Arrow Keys (← →) to move your player left and right
  3. Press Spacebar to shoot enemies
  4. Destroy all enemies to advance to the next level
  5. Don't let enemies reach the bottom!
  6. Use Pause button to pause/resume the game
  7. Use Reset button to restart from the beginning

Game Mechanics

  • Player: Green rectangle at the bottom of the screen
  • Enemies: Red rectangles that move downward
  • Bullets: Cyan projectiles that destroy enemies
  • Scoring: 10 points per enemy eliminated
  • Levels: Each level increases enemy count and speed

Customization

You can easily customize the game by editing game.js:

  • player.speed: Change how fast the player moves
  • bulletSpeed: Adjust bullet velocity
  • baseEnemyCount: Change starting number of enemies
  • enemySpeed: Modify base enemy speed
  • Colors in styles.css: Customize the game's appearance

Files

  • index.html - Game structure and UI
  • styles.css - Game styling and animations
  • game.js - Game logic and mechanics
  • README.md - This file

Browser Compatibility

Works on any modern browser that supports:

  • HTML5 Canvas
  • ES6 JavaScript
  • CSS3

Enjoy the game! 🚀

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages