cocos2d game coding test