How to Solve Yagit Puzzles

Yagit 10x10 Example Puzzle

Yagit is a grid division puzzle. Divide the field with fences to separate sheep and wolves so they don’t share a pen. All pens must contain at least one creature.

Yagit, short for Yagi To Ookami, literally translates to “Wolves and Goats”, although “Wolves and Sheep”, is also valid. The first form of the puzzle, Kaitoranma (Gordic Knot), appeared in the Japanese puzzle magazine Nikoli in September 2008. It was purely abstract, dividing the grid into rectangles containing the same color dots. Later iterations allowed the sections to bend and form irregular areas.

Rules

Place fences (lines) along the lines of the grid to create regions that each contain only sheep, or only wolves.

  • Regions may only contain one type of creature. You may not leave a region empty.
  • Some regions may be irregular.
  • Each fence is a single line that must start and end at the edge of the grid.
  • Fence lines must travel in a straight line except at a post (the dots), where they are allowed to turn 90 degrees.
  • Posts may not have more then 2 lines attached, essentially 1 fence only.
  • Fences may cross each other at any other intersection
  • Some posts may be decoys. You are not required to use all (or sometimes any) of them.

Basic Techniques to Solve

  1. Find different creatures that are orthogonally adjacent.
  2. Take note of grid lines you can’t use.
  3. Use the posts for deduction.
  4. Eliminate potential empty regions.
  5. Test multiple divisions at once.
  6. Take note of connected cells.
  7. Be wary of false positives.

Adjacent Creatures

First, look for sheep and wolves that are right next to each other. There must be a fence between them, and it will extend in both directions until it reaches either the border or a post. These initial fence segments lay the groundwork for solving the remainder of the puzzle.

Eliminate Grid Lines

As you work through the Yagit puzzle, pay attention to grid lines that can’t possibly be part of a fence. Doing so makes it easier to see where the fences you do need can fit. Look for fence posts that already have two fence segments attached. Also, take note of lines in regions that appear to be complete. Imagine a fence from another area of the puzzle that must include that line. Does that subdivision of the “completed” area create an empty region? If so, you can eliminate that entire length as an option.

Use the Posts

Sometimes, the next move won’t be obvious – it wouldn’t be a puzzle otherwise, right? When that happens, try and find partially-used posts, and look at your options for the direction of the other part of the fence attached to it. Ideally, find a small group of cells with several different animals and a cluster of posts. Then, think carefully about how they might be divided. Even if you can’t come to a conclusion for a fence segment, the odds are good you will be able to at least eliminate some possible placements.

Eliminate Potential Empty Regions

Sometimes, you will find it useful to look at fenced in regions you have already created. You can use them to eliminate lines along the grid, because placing a fence along them would subdivide your existing area and create empty regions within it. Remember, knowing where a fence can’t be helps you see where they must be.

Survey More Than One Fence Line

I’m leaning heavily into the sheep and wolf theme with these headings, but basically what this means is to test multiple divisions that are near each other. Look for a fence that must be placed in two possible positions. Then, find one or more divisions that will cross it. If you create an empty region or some other illegal condition when placing all of them, you can prove that the first line must not contain a fence.

Note Connected Cells

This is more of a visualization tool than a solving technique. Some Yagit solvers draw lines across the eliminated grid lines. While it doesn’t do anything to change the grid, and you may feel it adds clutter, this also aids in seeing the emerging regions. You see, an eliminated grid line means that the cells adjacent to it must be part of the same region.

Be Wary of False Positives

Sometimes, you can then experiment with dividing regions of empty cells to prove whether they must be connected, expanding your known regions. You might be able to test unused posts to see if they’re needed in the solution. Be careful when doing this, though – if you think you find a “known” fence, it might be a false positive. A false positive is when you find yourself making an assumption that something is true, and you might not have seen an alternate possibility that would disprove it.

When testing, it is generally safe to prove that something can’t be true and mark it down. Don’t mark something as true unless you are certain that no other configuration is valid.

Solving the Puzzle

Now that we know what to look for and have a basic understanding of technique, we can work on solving the rest of our example Yagit puzzle.

Schrödinger’s Post

Process of Elimination

Completing Open Fences

Similar Posts