예제 #1
0
 // Default Ctor
 public AIPlayerWithBF(State myFigure, State opponentFigure, int stripeLengthToWin)
 {
     TopLeftCell  = new Cell(0, 0);
     BotRightCell = new Cell(0, 0);
     BFTLCell     = new Cell(0, 0);
     BFBRCell     = new Cell(0, 0);
     minMaxAlg    = new MinMaxAlg(myFigure, opponentFigure, stripeLengthToWin);         // MyFigure, OppFigure - minMax can self define, stripesToWin - take from board.stripelenthtowin
 }
예제 #2
0
 // Default Ctor
 public AIPlayerNoBF(State myFigure, State opponentFigure, int stripeLengthToWin)
 {
     minMaxAlg = new MinMaxAlg(myFigure, opponentFigure, stripeLengthToWin);
 }