heuristic-arena-abminmax #17

Open
Riad KARA-MOSTEFA wants to merge 9 commits from heuristic-arena-abminmax into master
Showing only changes of commit 912675f897 - Show all commits

View File

@@ -51,12 +51,12 @@ public class Arena {
}
private Result playMatch(AbstractGamePlayer bot1, AbstractGamePlayer bot2) {
IBoard board = new HexBoard(11); // Standard 11x11 Hex board
IBoard board = new HexBoard(11);
EnumMap<Player, AbstractGamePlayer> players = new EnumMap<>(Player.class);
players.put(Player.PLAYER1, bot1);
players.put(Player.PLAYER2, bot2);
Simulation simulation = new Simulation(board, players); // Ensure Simulation is correctly imported
Simulation simulation = new Simulation(board, players);
return simulation.run();
}
}