Exemple #1
0
 static void Eat()
 {
     snake.AddNexus();
     GenerateFood();
     score += 10;
     if (score > bestScore)
     {
         bestScore = score;
     }
 }