try to use angularjs make a game