Tower Defense Game in TypeScript / JavaScript