exercise for cocos2dx