src/scripts/modules/gameutils.js
/**
   * this stops the game and returns the index of hit area; use click() instead !
   */
this stops the game and returns the index of hit area; use click() instead !
this stops the game and returns the index of hit area ; use click () instead !
function stop() {
    if(data.intervalID) window.clearInterval(data.intervalID);
    var computedStyle = window.getComputedStyle(data.bargraph);
    var left = computedStyle.getPropertyValue('left');
    data.bargraph.style.left=left;
    data.bargraph.style.transition = null; 
    data.run=false;
  }
function stop ( ) { if ( data . intervalID ) window . clearInterval ( data . intervalID ) ; var computedStyle = window . getComputedStyle ( data . bargraph ) ; var left = computedStyle . getPropertyValue ( 'left' ) ; data . bargraph . style . left = left ; data . bargraph . style . transition = null ; data . run = false ; }
this stops the game and returns the index of hit area; use click() instead !
this stops the game and returns the index of hit area ; use click () instead !
// disable transition AFTER fetching computed value !