public void SetCellAtCoordinates(int row, int column, LetterAndArrowCell cell) { _grid[string.Concat(row, column)] = cell; if (!RowsVisited.Contains(row)) { RowsVisited.Add(row); } }
private bool HaveAlreadyVisitedRow(int row) { return(RowsVisited.Contains(row)); }