src/scripts/modules/gameutils.js
/**
   * this can be bound to eventhandler for user input detection to trigger stop and will call stop-CB
   */
this can be bound to eventhandler for user input detection to trigger stop and will call stop-CB
this can be bound to eventhandler for user input detection to trigger stop and will call stop - CB
function click() {
    var run = data.run;
    var res = data.stop();
    if(run && data.stopCB) data.stopCB(res);
  }
function click ( ) { var run = data . run ; var res = data . stop ( ) ; if ( run && data . stopCB ) data . stopCB ( res ) ; }
this can be bound to eventhandler for user input detection to trigger stop and will call stop-CB
this can be bound to eventhandler for user input detection to trigger stop and will call stop - CB