Attempting to rewrite the asteroid game with TypeScript and better code structure. Play it here.
# Required for the vim auto-completion and linter to work.
$ npm i -g typescript
$ npm i
$ npm start
- Decorators in Typescript
- decoupling functionalities through event-emitter (observer)
- shared global dispatcher for character registration/deregistration
- inheritance and adding behaviours dynamically
- and many more