a gen game based on cocos2d-x