public Nodes(Nodes parentNode, Positions p) { this.parentNode = parentNode; this.p = p; childNodes = new Nodes[this.p.NbShots1, this.p.NbShots0]; }
public PartS(Players mctssPlayer, Players humanPlayer, Positions pInitiale) { this._mctssPlayer = mctssPlayer; this._humanPlayer = humanPlayer; pCurrent = pInitiale.Clone(); }
public void NewMatch(Positions pInitiale) { pCurrent = pInitiale.Clone(); }
public override int Play(Positions p, bool asj1) { return(asj1 ? gen.Next(p.NbShots1) : gen.Next(p.NbShots0)); }