sample app using cocos2d