Asteroids in HTML5
Edit: Repository at Github
I'll admit it might be unfinished and not completely faithful to the original(lack of aliens and warp), but more or less you find here the basic components:
- Random asteroids that break in smaller asteroids
- A poorly armed, uncontrollable ship.
The game deactivates scrolling the window with keys on this page so, press x on your keyboard, have your directional keys handy, and enjoy:
Have you had fun?
On next articles, I'll explain how I managed to achieve some of the features of this game, see you soon.