correction

This commit is contained in:
2025-10-08 12:11:52 +02:00
parent fae2ecf2c8
commit bd4a204d25

View File

@@ -96,8 +96,11 @@ public class GameUI {
switch (res) {
case ALREADY -> JOptionPane.showMessageDialog(frame, "Lettre déjà utilisée.");
case HIT -> {} // rien, rafraîchissement visuel suffit
case MISS -> {} // idem
break;
case HIT:
break;
case MISS:
break;
}
input.setText("");
@@ -119,5 +122,4 @@ public class GameUI {
triedLabel.setText("Lettres essayées : " + String.join(", ", game.triedLetters()));
frame.repaint();
}
}
}