Fork me on GitHub
Asteroids [Reloaded]


Left and Right Arrows: Rotate ship

Up Arrow: Thrust

SPACE: Fire main weapon(s)

Z: Fire bomb weapon (area effect, uses energy)

Down Arrow or SHIFT: Shield (will recharge...)

S: Enable or disable sound effects

R: Switch between Modern and Retro graphics

Escape: Pause the game

Asteroids DEBUG page

Download JavaScript source code

HTML5 Canvas demos and experiments

Contact me by email: kevtoast at

Game by Kevin Roast - written to learn the HTML5 Canvas API while reading about the concepts in this book on game maths.
Follow me on Twitter - Last updated: 15th September 2014