A similar game with greedy snake. wirrten by cocos2d-x.