public TicTacToeBoard(int boardID, int rowMultiplier, int colMultiplier, Action <object> log) : base(log)
 {
     BoardID            = boardID;
     BoardRowMultiplier = rowMultiplier;
     BoardColMultiplier = colMultiplier;
     _helper            = new TicTacToeBoardHelper(BoardRowMultiplier, BoardColMultiplier);
     InitializeBoard();
 }
Exemple #2
0
 public TicTacToeAI(TicTacToeBoard board, Action <object> logFunc) : base(logFunc)
 {
     _board  = board;
     _helper = new TicTacToeBoardHelper(board.BoardRowMultiplier, board.BoardColMultiplier);
     Log($"Created ai for: {board}");
 }