diff --git a/YahtzeeStarWarsSpecial.jar b/YahtzeeStarWarsSpecial.jar index b02dea4..fb23865 100644 Binary files a/YahtzeeStarWarsSpecial.jar and b/YahtzeeStarWarsSpecial.jar differ diff --git a/bin/csv/highscores.csv b/bin/csv/highscores.csv index d458538..132a297 100644 --- a/bin/csv/highscores.csv +++ b/bin/csv/highscores.csv @@ -1,7 +1,7 @@ 2024-04-30 Selim 254 2024-04-30 Enes 127 2024-04-30 David 82 -___ ___ 0 +2024-04-30 Olaf 72 ___ ___ 0 ___ ___ 0 ___ ___ 0 diff --git a/bin/ui/TUI.class b/bin/ui/TUI.class index 10aa1c2..66af633 100644 Binary files a/bin/ui/TUI.class and b/bin/ui/TUI.class differ diff --git a/src/csv/highscores.csv b/src/csv/highscores.csv index d458538..132a297 100644 --- a/src/csv/highscores.csv +++ b/src/csv/highscores.csv @@ -1,7 +1,7 @@ 2024-04-30 Selim 254 2024-04-30 Enes 127 2024-04-30 David 82 -___ ___ 0 +2024-04-30 Olaf 72 ___ ___ 0 ___ ___ 0 ___ ___ 0 diff --git a/src/ui/TUI.java b/src/ui/TUI.java index 5ba0c66..9aaad96 100644 --- a/src/ui/TUI.java +++ b/src/ui/TUI.java @@ -13,13 +13,14 @@ public class TUI { System.out.println("\nYahtzee Star Wars Special!"); - while (!choice.equals("stop")) { + while (!choice.equals("Stop")) { YahtzeeGame game = new YahtzeeGame() { }; System.out.println("\nMain menu:"); System.out.println(">Play"); System.out.println(">Highscores"); + System.out.println(">Stop"); choice = sc.nextLine(); if (choice.equals("Highscores")) { @@ -131,7 +132,7 @@ public class TUI { System.out.println("Saving all highscores to the highscore table..."); game.saveAllPlayersHighscores(); System.out.println( - "\nIf you want to stop the programm type: 'stop', otherwise you will return to the main menu:"); + "\nIf you want to stop the programm type: 'Stop', otherwise you will return to the main menu:"); choice = sc.nextLine(); } }