heuristic + arena + alphabeta
This commit is contained in:
15
javaAPI/fr/iut_fbleau/HexGame/ArenaMain.java
Normal file
15
javaAPI/fr/iut_fbleau/HexGame/ArenaMain.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package fr.iut_fbleau.HexGame;
|
||||
|
||||
import fr.iut_fbleau.GameAPI.Player;
|
||||
|
||||
public class ArenaMain {
|
||||
public static void main(String[] args) {
|
||||
Arena arena = new Arena();
|
||||
arena.addBot(new RandomBot(Player.PLAYER1, 12345L)); // 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user