try to code a cocos2dx game