# Heyacrazy: "LMI"

This is a Heyacrazy puzzle, originally constructed for a test for Logic Masters India.

Rules of Heyacrazy:

• Shade some cells of the grid.

• When the puzzle is solved, you must not be able to draw a line segment that passes through two borders, and does not pass through any shaded cells or grid vertices.

For an example puzzle and its solution, see this question.

• Brilliant concept! I'd love to see some circles next. Commented Aug 23, 2019 at 23:30
• @greenturtle3141 Thank you! Unfortunately, circles don't work in an interesting way, because any arc in a cell immediately tells you that that cell is shaded.
– Deusovi
Commented Aug 24, 2019 at 1:03

First of all, these four squares must have two shaded cells in order to prevent all of these three lines. There are two ways to fill them.

If we try to shade them like this, we'll soon reach a contradiction. Let's see how that happens.

First of all, the fourth cell on row 4 must be shaded to prevent a line passing through it. That means the fourth cell of line 2 must be empty to prevent cutting off empty cells.

We must now shade two cells on the first row to block these lines.

But now there is already an unblockable line crossing row 2 on the right. So this is the contradiction – the starting cells have to be shaded the other way.

Starting out the other way, again we need to shade a cell on row 4 to prevent this line. Again the corresponding cell on row 2 needs to be empty to avoid shutting out empty cells.

Only one way to block both these lines.

Fill in the last cell of row 4 to block this line. This means cell 3 of row 2 must be empty because filling it would cut off empty cells.

Now, only one way to block this line.

Some cells can be marked as empty as blocking a nearby line in any possible way would always force that cell to be empty.

Cell 3 of the second-to-last row must be filled, because leaving it empty would make it impossible to block both of these lines without leaving an empty cell stranded.

The bottom of the "L" needs to either have its central cell (row 4 cell 2) shaded, or the cells to the right to it and below it. The latter way makes it impossible to complete the bottom left corner without shutting out empty cells.

So it has to be the central cell that blocks the bottom of the L.

Only one way to block this line now. This forces the top left corner cell to be empty, as well as the first cell of row 5.

One way to block this line. This solves the bottom left corner.

This line can only be blocked one way, forcing the fourth cell of the bottom row to be empty as well.

From here, there are two ways to block both of these lines: the two diagonals of the 2x2 square. Only one of them leaves us with all empty cells connected.