A game is written by using cocos2d-x 2.2.0.