Commit bf6ca413 authored by MACE Lloyd's avatar MACE Lloyd

Upload New File

parent e225189e
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tictactoecodingame;
import mcts.MCTS;
/**
*
* @author Lloyd
*/
public class AlgoRechercheMCTS extends AlgoRecherche {
Joueur adversaire;
int nbIteration;
public AlgoRechercheMCTS(Joueur adversaire, int nbIteration) {
this.adversaire = adversaire;
this.nbIteration = nbIteration;
}
@Override
public Coup meilleurCoup(Plateau _plateau, Joueur _joueur, boolean _ponder) {
MCTS mcts = new MCTS(_plateau, _joueur, adversaire, nbIteration);
return mcts.meilleurCoup();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment