forked from menault/TD3_DEV51_Qualite_Algo
		
	correction
This commit is contained in:
		| @@ -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(); | ||||
|     } | ||||
| } | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user