17
$\begingroup$

4x4 maze

Puzzle maven Nob Yoshigahara offered this puzzle in the September-October 2000 issue of MIT Technology Review, attributing it to a Professor Kotani. In the 4x4 complex of rooms above, two of the rooms are closed. This leaves a single way to tour the remaining rooms in a series of orthogonal moves, visiting each room once and returning to the starting point.

The 12x12 complex below has a similarly unique solution. What is it?

12x12 maze

Attribution: Nob Yoshigahara and futilitycloset.com

$\endgroup$
1
  • $\begingroup$ This kind of puzzle reminds me of the now-defunct Alcazar puzzle app. $\endgroup$ Commented Sep 28 at 6:58

2 Answers 2

13
$\begingroup$

Solution with a solve path (Solve it yourself on Penpa+)

Let's construct some rules to help us solve.

  • Corner rule: in the following configuration, where * denotes no connection and denotes an unknown connection
    B
     
X * A   C
    *
    Y 

then the cells ("in the corner") must be connected, so you can draw the two line segments B-A and A-C, giving

    B
    |
X * A - C
    *
    Y 

Applying the corner rule and easy logic to the starting position gets us

(1)

1

The bottom left can only be resolved like this. Use the corner rule as well.

(2)

2

Invalid configuration rule: if there is a cell only reachable from one neighbour, then we have an invalid configuration.

Short loop avoidance rule: in the following configuration

    B
     
X   A   C
    *
    Y 

where X and C belong to the same short loop, we cannot have X-A and A-C. Therefore B-A is connected (to avoid triggering the invalid configuration rule). So

    B
    |
X   A   C
    *
    Y 

Using this, we can make some deductions.

(3) (The red segment leads to a quick contradiction and must be removed)

3

(4)

4

Connecting the red line leads to a contradiction in the top right after around 10 moves (see the comments under the other answer for a more elegant method). So we have

(5)

5

Connecting the red line leads to a contradiction in the middle right after around 11 moves. So we have

(6)

6

Connecting some obvious things (starting from the bottom) leads to

(7)

7

Avoiding a big loop on the left leads to the solution

(8)

8

$\endgroup$
10
$\begingroup$

Solving squares with just two neighbours and avoiding short loops will get you this far:
stage 1 The squares surrounded by three crosses have three possibilities for the loop, but for each square one of those possibilities makes a short loop and the other two share a common edge. We can fill in those common edges: stage 2 Repeat this line of reasoning, remembering to always put forced edges after an assumption to see if a contradiction arises. Then we can positively fill in some more edges: stage 3 The puzzle now essentially solves itself through zigzags (diagonal lines of squares with only two vacant neighbours). solution These pictures were made on puzz.link.

$\endgroup$
9
  • 4
    $\begingroup$ I don’t quite understand short loops and one-move lookahead. Could you please explain these concepts in more detail preferably with visual examples. Thanks! $\endgroup$ Commented Sep 27 at 12:27
  • 1
    $\begingroup$ In my solve path I had to do something like a 10-move lookahead. If you have any pointers on my answer I'd appreciate it. $\endgroup$ Commented Sep 27 at 23:27
  • 1
    $\begingroup$ @Will.Octagon.Gibson 'One-move lookahead' consider a shape like | _ _ |, there are three of them after step (1) in Benjamin Wang's solve. Take the square on the 'inside' of the U shape. There are six possible paths through that square. Three of them intersect the U that is already present, one of them complete the U into a short loop. The two remaining paths both share the component leading away from the U, so we can fill it in. I can confirm that one-step lookaheads like this are sufficient to solve the puzzle. This type of puzzle is called 'Slitherlink', usually with clues given. $\endgroup$
    – Brady Gilg
    Commented Sep 28 at 1:57
  • 1
    $\begingroup$ I see. If a square has 3 possible connections and none are connected yet, then it is easier to consider whether the absence of a certain connection would lead to a contradiction. $\endgroup$ Commented Sep 28 at 2:29
  • 1
    $\begingroup$ @Will.Octagon.Gibson done. $\endgroup$ Commented Nov 2 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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