function disolveSnake() {
  var snake = snakes[snakeIndex];
  if (snake.coordinates.length > 2) {
    snake.shrink();
    setTimeout(disolveSnake, 100);
  } else {
    setTimeout(showStart, SPEED / 10);
  }
}
// Animate the destruction of the current snake.
Animate the destruction of the current snake.
Animate the destruction of the current snake .
function disolveSnake() {
  var snake = snakes[snakeIndex];
  if (snake.coordinates.length > 2) {
    snake.shrink();
    setTimeout(disolveSnake, 100);
  } else {
    setTimeout(showStart, SPEED / 10);
  }
}
function disolveSnake ( ) { var snake = snakes [ snakeIndex ] ; if ( snake . coordinates . length > 2 ) { snake . shrink ( ) ; setTimeout ( disolveSnake , 100 ) ; } else { setTimeout ( showStart , SPEED / 10 ) ; } }
Animate the destruction of the current snake.
Animate the destruction of the current snake .