package fr.iut_fbleau.HexGame; import fr.iut_fbleau.GameAPI.Player; public class ArenaMain { public static void main(String[] args) { int size = 7; if (args.length >= 1) { try { size = Integer.parseInt(args[0]); } catch (NumberFormatException ignored) {} } Arena arena = new Arena(size); arena.addBot(new RandomBot(Player.PLAYER1, 24015L)); // Correct constructor usage arena.addBot(new MiniMaxBot(Player.PLAYER2)); arena.addBot(new HeuristicBot(Player.PLAYER1)); arena.addBot(new MonteCarloBot(Player.PLAYER2)); // Correct constructor usage arena.run(); } }