Live Demo
Asteroids
Keyboard Controls
| Action | Key |
|---|---|
| Rotate Left | Arrow Left |
| Rotate Right | Arrow Right |
| Thrust | Arrow Up |
| Shoot | Spacebar |
Source Code
Available in Github
Key Highlights
- Built with TypeScript for scalability and maintainability
- Smooth gameplay loop using
requestAnimationFrame - Modular and extensible architecture
- Local storage integration for persistent high scores