A javascript-based game for iOS, Android and HTML5 using cocos2d-js 3.1