Simple space invaders game for the browser, getting more fun each release!
You can play the latest version of the game here
I used TypeScript as it is pretty nice for games and catches plenty bugs at compile time.
Angles are measured clockwise from north. For example, east is 90 degrees.
I published this over npm. All you need is to give the game object a 2D Canvas object and it will be added to your website.