game over


    
    function gameOver(){
      //end the game by clearing the timer, modifying the score label
      clearTimeout(timer);
      score.innerHTML += "  Game Over";
      score.style.backgroundColor = 'rgb(128,0,0)';
    }
  </script>