7
$\begingroup$

enter image description here

Yajilin (adapted from Nikoli)

  • Draw a line to make a single loop.
  • Lines pass through the centers of cells, horizontally, vertically, or turning. The loop never crosses itself, branches off, or goes through the same cell twice.
  • The numbers with arrow show how many black cells there are in the direction of the arrow.
  • The number 0 without arrow denotes nothing (it can be treated as a "white wall").
  • The loop does not pass through the black cells or the cells with numbers, and black cells cannot touch horizontally or vertically. The loop has to pass through all of the other (white) cells.
  • Some parts of the loop are already given by the blue lines.
$\endgroup$
  • 2
    $\begingroup$ I'm starting to think "quick" is a relative term here :) Love these puzzles! $\endgroup$ – jafe Sep 21 at 16:22
  • $\begingroup$ These are great puzzles. Are they hard to generate? It would be a great addition to the Tatham Puzzle collection! $\endgroup$ – Dr Xorile Sep 22 at 2:36
  • 1
    $\begingroup$ @DrXorile Indeed IMO this will be a great type of puzzles Tatham Puzzle would have, but I myself find it hard to generate the puzzle (..maybe because handmade puzzles usually should be aesthetical.) However, looking at they are able to generate "hard" puzzles like slant, (various types of) slitherlink, and tracks; it may get a chance! :) $\endgroup$ – athin Sep 22 at 2:52
  • $\begingroup$ Lately, this series starts to attract downvotes; maybe because I post them too often? Any feedback will be appreciated! ^^ $\endgroup$ – athin Sep 22 at 9:24
11
$\begingroup$

Second puzzle

There are many cells on the border which can't be walls because that would create a dead-end cell next to them (i.e. an empty cell with only one open side). Mark those as empty.

enter image description here

There can't be a wall-empty-wall sequence on the border, because the middle cell would be a dead end. That solves the 2s at the top and along the right-hand border.

enter image description here

Fill in the line in empty cells which have only two open sides.

enter image description here

The bottom 2 is trivially solved now.

enter image description here

This cell cannot be empty, because in that case the only way to fill the 2 to the right of it would make a dead end in between.

enter image description here

So it has to be a wall.

enter image description here

Some more cells that can't be walls because they would create a dead end.

enter image description here

So all those have to be empty.

enter image description here

Now, the 2 near the top-right corner has three possibilities for wall cells. The adjacent cells can't both be walls, so this cell has to be a wall.

enter image description here

Regardless of how the 2 is filled, neither of the cells marked pink can be a wall or there'd be either two adjacent walls or a dead end somewhere.

enter image description here

So mark those cells empty.

enter image description here

Now, there is no way to put three walls in four adjacent cells, so the cell directly next to the 3 must be a wall.

enter image description here

Only one way to fill this 2 now.

enter image description here

Having the two cells marked pink be walls would make a dead end. So the only legal way to complete the 3 is if the circled cell is a wall.

enter image description here

Marking that cell a wall solves the entire bottom-left corner. Fill in the loop.

enter image description here

There's a dead-end cell on row 3, column 2. That has to be a wall, and marking it a wall allows resolving the loop even further.

enter image description here

Neither of these cells can be a wall. Making the topmost one a wall would create a dead end, and making the bottom-most one a wall would create a closed loop. Also, there needs to be a line between these cells to prevent a closed loop.

enter image description here

The loop can't continue this way, because we'd force a closed loop near the top-left corner.

enter image description here

So it must continue upwards. This solves the entire left part of the grid.

enter image description here

We need to get both ends of the loop out of the bottom-right corner, so none of these cells can be walls. In fact, we can already fill in how the ends of the loop come out since there are only two spaces where they can go.

enter image description here

Like so.

enter image description here

Both of the pink cells cannot be walls, because that would force a dead end. So the circled cell must be a wall to satisfy the 2 below.

enter image description here

This solves the entire bottom-right corner.

enter image description here

This cell would be a dead end, so it has to be a wall.

enter image description here

Now, the same story with this cell. This solves the rest of the grid.

enter image description here

Final solution.

enter image description here

$\endgroup$
  • $\begingroup$ Great work, a really nice and neat write-up! :) $\endgroup$ – athin Sep 21 at 22:56
3
$\begingroup$

The first puzzle was definitely trickier:

yajilin

I did it by hand (as you can tell from the image), so I don't have @jafe's neat write-up. It did not require any guessing and used similar methods. After the start, I did the right-hand few columns, then the bottom few rows and filled in the rest from there. The deductions are very neat and were typically of the form: "if this square were filled in, then blah blah blah, so that square must have a line through it" (which I marked up as a dot).

I did number 2 independently but not as quickly as @jafe.

Great puzzle! Thanks

$\endgroup$
  • 1
    $\begingroup$ Difficulty-wise the first puzzle is harder, and actually there exists a very nice observation to make this easier, hint: rot13(gel gb ynory gur pryyf nf purpxreobneq r.t. jvgu erq naq oyhr gura n inyvq ybbc jvyy cnff gur fnzr ahzore bs erq naq oyhr pryyf) :) , nevertheless well done! :D $\endgroup$ – athin Sep 22 at 9:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.