Progress using cocos2d

Will be used as reference for rewrite.