A simple game with cocos2d-x framework