jasonycw / TyphoonTycoon

In the year 21XX, the Li’s field (李氏力場) becomes reality, in a form of a tower defence system. The system seeks to weaken, if not totally destroy, incoming typhoons into Hong Kong. Li’s enterprise has appointed Player to control the typhoon defence system for Li. The game genre are strategy and tower defence game.
http://jasonycw.github.io/TyphoonTycoon/
MIT License
8 stars 3 forks source link

(Ouch!) All variables in Game.js are global #25

Open vicksonzero opened 9 years ago

vicksonzero commented 9 years ago

ouch... looks like all variables miss the keyword this. before them, thus making all of them global. need some serious clean up

vicksonzero commented 9 years ago

fine.... due to time limit, this will become a known bug for now