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