making an asteroids game that plays in the browser