This commit is contained in:
ThatGamerBlue
2022-06-23 20:14:14 +01:00
parent 21c2ab36e9
commit c7eaf60f03
3 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ public class GameHandler implements KeyListener {
ateApple = true;
score++;
SnakeGame.currentRefreshInterval = Math.max(50, DEFAULT_REFRESH_INTERVAL - score);
if (score == 40) {
if (score == 15) {
game.stop();
}
}