BeLuckyDaf / snakes-game-tutorial

Apache License 2.0
4 stars 5 forks source link

Apple disappearing without waiting 10 iterations #2

Closed DS-Sashimi closed 3 years ago

DS-Sashimi commented 3 years ago

It seems like an apple sometimes disappears without waiting 10 iterations. I wonder if adding numIterationsAppleNotEaten = 0; to line 197 of SnakeGame.java will resolve this issue.

ljonata commented 3 years ago

Fixed. Thanks.