// Constructs board based on passed board public TicTacToeBoard(TicTacToeBoard otherBoard) { board = new int[3, 3]; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { board[i, j] = otherBoard.GetBoard()[i, j]; } } }
// Constructs board based on passed board public TicTacToeBoard(TicTacToeBoard otherBoard) { board = new int[3, 3]; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { board[i, j] = otherBoard.GetBoard()[i, j]; } } }