angularjs based platformer game