Basic Snake sample with Cocos2d-x/C++ library for linux platform.