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