A greedysnake game implemented by C++ language through cocos2d-x platform.