     {
       p1.Len += 1;
     }
-    arduboy.tunes.tone(987, 160);
+    if(sound == true)
+    {
+      arduboy.tunes.tone(987, 160);
+    }
+    
     score += 1;
     LogMove();
     GenerateFood();

  }

  
  gameRunning = true;
}

void LogMove()


void EndGame()
{
  if(sound == true)
  {
    arduboy.tunes.tone(200, 200);
    delay(400);
    arduboy.tunes.tone(100, 400);
    delay(600);
    arduboy.tunes.tone(50, 2000);
  }
    
  gameState = 'E';
}

void CollisionDetection()
