// Clear the board public void Clear() { _board = new BoardValue[Lines, Columns]; for (var line = 0; line < Lines; line++) { for (var column = 0; column < Columns; column++) { _board[line, column] = new BoardValue(); } } }
// Set board value for a specific column on a specific line public void SetBoardValue(int line, int column, BoardValue value) { _board[line, column] = value; }