mise en place de hell le vrai difficile

This commit is contained in:
2025-10-08 16:49:49 +02:00
parent 92aa82e7c7
commit 4f38105062
6 changed files with 41 additions and 15 deletions

View File

@@ -235,7 +235,7 @@ public class Action {
* et relance une partie avec cette difficulté en utilisant PlayButtonListener.
*/
private void showDifficultyDialog() {
String[] options = {"Facile", "Moyen", "Difficile"};
String[] options = {"Facile", "Moyen", "Difficile", "Hell"};
// Boîte de dialogue avec trois options
int choice = JOptionPane.showOptionDialog(
@@ -262,6 +262,9 @@ public class Action {
case 2:
newDifficulty = "difficile";
break;
case 3:
newDifficulty = "hell";
break;
default:
newDifficulty = "moyen";
break;