Ejemplo n.º 1
0
            public Boolean FillsSecondDiagonal(Cell cell)
            {
                if (!cell.IsInsideSecondDiagonal(_size))
                    return false;

                var counter = Count(cell, (c, b) => c.MoveTopRight(b));
                counter += Count(cell, (c, b) => c.MoveBottomLeft(b));

                return counter == _size - 1;
            }