function crash() {
  clearInterval(pid);
  isRunning = false;
  document.body.className = 'shake';
  document.getElementById('crash').play();
  setTimeout(disolveSnake, 100);
}
// User has crashed, end the game.
User has crashed, end the game.
User has crashed end the game .
function crash() {
  clearInterval(pid);
  isRunning = false;
  document.body.className = 'shake';
  document.getElementById('crash').play();
  setTimeout(disolveSnake, 100);
}
function crash ( ) { clearInterval ( pid ) ; isRunning = false ; document . body . className = 'shake' ; document . getElementById ( 'crash' ) . play ( ) ; setTimeout ( disolveSnake , 100 ) ; }
User has crashed, end the game.
User has crashed end the game .