Skip to content

alextanhongpin/typescript-asteroid-remake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asteroid remake

Attempting to rewrite the asteroid game with TypeScript and better code structure. Play it here.

game.png

Installation

# Required for the vim auto-completion and linter to work.
$ npm i -g typescript
$ npm i

Start

$ npm start

Things I learnt

  • Decorators in Typescript
  • decoupling functionalities through event-emitter (observer)
  • shared global dispatcher for character registration/deregistration
  • inheritance and adding behaviours dynamically
  • and many more

About

asteroid remake 👽 🚀 👾

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published