Description

Galaxy Defender

Galaxy Defender is an HTML5 canvas arcade shooter where the player controls a ship, shoots alien waves, avoids enemy fire, and survives through multiple waves.

Features

– HTML5 Canvas gameplay
– Player movement
– Shooting system
– Enemy waves
– Enemy bullets
– Score tracking
– Lives system
– Increasing difficulty
– Starfield background
– Win and game-over screens
– No external libraries

Controls

| Action | Key |
|—|—|
| Move Left | Left Arrow or A |
| Move Right | Right Arrow or D |
| Shoot | Space |
| Start | Space or Enter |
| Restart | Enter |

How to Play

1. Open `index.html` in a browser.
2. Press Space or Enter to start.
3. Move left and right to dodge enemy shots.
4. Press Space to shoot.
5. Clear all enemy waves.
6. Survive through wave 5 to win.

Files

galaxy-defender/
├── index.html
└── README.md