A retro-style Asteroids arcade game built with HTML5 Canvas and vanilla JavaScript.
| Key | Action |
|---|---|
| β β / A D | Rotate |
| β / W | Thrust |
| Space | Shoot |
| Enter | Start / Restart |
Touch controls work on mobile too β left/right edges to rotate, bottom half for thrust, top half to shoot.
| Asteroid | Points |
|---|---|
| Large | 20 |
| Medium | 50 |
| Small | 100 |
Just open index.html in a browser. No build step, no dependencies.
- Pure HTML5 Canvas + vanilla JS
- No frameworks, no dependencies, no build tools
- ~400 lines of code