diff --git a/fr/iut_fbleau/Avalam/ArenaWindow.java b/fr/iut_fbleau/Avalam/ArenaWindow.java index 09982df..f6d0580 100644 --- a/fr/iut_fbleau/Avalam/ArenaWindow.java +++ b/fr/iut_fbleau/Avalam/ArenaWindow.java @@ -1,6 +1,7 @@ package fr.iut_fbleau.Avalam; import fr.iut_fbleau.Bot.AlphaBetaBot; +import fr.iut_fbleau.Bot.DivineBot; import fr.iut_fbleau.Bot.IdiotBot; import fr.iut_fbleau.GameAPI.AbstractGamePlayer; import fr.iut_fbleau.GameAPI.Player; @@ -14,7 +15,8 @@ import java.util.List; /** * Fenêtre pour le mode Arène. - * Permet de sélectionner deux bots, le nombre de parties, et affiche les résultats. + * Permet de sélectionner trois bots (Idiot, Alpha-Beta, Divin), de configurer la profondeur + * de recherche pour les bots intelligents, de choisir le nombre de parties, et d'afficher les résultats. * * @version 1.0 */ @@ -247,14 +249,7 @@ public class ArenaWindow extends JFrame { } else if (botType.equals("Bot Alpha-Beta")) { return new AlphaBetaBot(player, depth); } else if (botType.equals("Bot Divin")) { - // Pour l'instant, le Bot Divin n'est pas implémenté, on utilise IdiotBot - JOptionPane.showMessageDialog( - this, - "Le Bot Divin n'est pas encore implémenté. Utilisation du Bot Idiot à la place.", - "Avertissement", - JOptionPane.WARNING_MESSAGE - ); - return new IdiotBot(player); + return new DivineBot(player, depth); } return null; }