示例#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
文件: JH.cs 项目: sgsarbere/SandeepS
 public override int Play(Positions p, bool asj1)
 {
     return(asj1 ? gen.Next(p.NbShots1) : gen.Next(p.NbShots0));
 }