Flappy Bird written in cocos2d-js-v3.0-beta