zotmeister: a <i>Sudoku</i> puzzle (quadrum)
zotmeister ([personal profile] zotmeister) wrote2006-01-25 04:29 pm
Entry tags:

Puzzle 25: Polyamory



Nikoli calls these simply "Block Puzzle". That won't do. That could describe hundreds of puzzle types. Besides, this involves polyominoes, not rectangles. I've been wanting to use Polyamory as a puzzle title for some time, and it may as well be used here.



The usual 5×5 sample puzzle is on the left; its unique solution is on the right rendered in indigo, with the cyan lines being just a solving aid. Yes, I just repeated a color scheme. What can I say, it fits.

Concise pedantism follows: The object is to take the given grid and divide it into polyominoes such that a permutation of the symbols in each polyomino matches one of the given permutations beneath the grid and that the given quantities of polyomino for each permutation are matched exactly.

Yep - another one-sentence ruleset. If you don't know what a permutation is, here's the numbered multi-line version:

1) Except for borders, the puzzle grid shows only the corners of the cells of the grid. (Black "cells" are simply holes in the grid pattern.) To solve the puzzle, draw in the needed borders between cells so as to divide the grid up into sections (polyominoes) following the remaining rules.
2) Each section will contain a quantity of symbols - letters, digits, whatever. It doesn't matter what order they are in in the grid, but for each section, those symbols must be able to exactly match one of the arrangements listed under the grid if those symbols were lined up and ordered properly.
3) The numbers next to each arrangement under the grid show how often the arrangement is used in the solution - that is, how many times a section matching those symbols appears in the solution. Divvy up the entire grid to match those numbers, and the puzzle is solved!

In the sample puzzle, each section has a single 'A', a single 'B', a single 'C', a single 'D', and a single 'E'. No other combinations are allowed, since "ABCDE" is the only one provided for under the grid. As a quick glance at the solution shows, the letters don't need to be in a nice, neat, intuitive alphabetical order inside of each section.

I always try to make my sample puzzles instructional, such that they can't really be solved by means other than one that enforces the points I'm trying to get across. Sometimes this results in the sample puzzle really being quite nasty for a sample. I believe this happened here. Don't feel ashamed to read behind the cut:


(Start of sample puzzle solution)
These can get tough - tough to the point of intuition being more useful than deduction for solving them, even. However, this one can be tackled entirely deductively if done so cautiously and observantly. The way to start this puzzle is to note that no polyomino in the solution can have a duplicate letter - the only combo we have under the grid is "one of each" - so borders can confidently be drawn in separating all pairs of orthogonally adjacent letters. There are nine such edges to be drawn in.

From there, I note the 'C' on the bottom row. It has 'D's on both sides. That 'C' needs to belong to a polyomino - every cell in the grid does - and that polyomino must ultimately read "ABCDE". Since it can have only one 'D', that polyomino needs to pick just one direction to expand in from there. It also needs to include one of each letter, and examining the right-hand side of the puzzle I see that there's no 'B' this polyomino could reach in that direction: those other two 'C's right above the one in question serve as a wall, so if the 'C' on the bottom row were to include the 'D' to its right in its section, it can get the 'E' and 'A' straight up from the corner but then have no space left to expand, remaining 'B'-less. This can't happen, so the 'C' on the bottom row gets the 'D' to its left instead. I indicate this by drawing a line connecting them; this is optional, but I find it helpful.

This 'C'-'D' section-in-the-making still needs an 'A', a 'B', and an 'E' to be completed. The 'A' and 'E' on the bottom row are the only ones this section can legally reach, but there are two choices of 'B' on the row above that could finish the section. Which is correct? Well, I wouldn't know yet, so I'll come back to it later. I still have my line linking the other four letters so I know where I left off.

I turn my attention to the other 'D' on the bottom row, the one in the corner. Since it needs to be a part of a pentomino (5-omino, or five-cell section), it needs to be linked to the letter right above it - up is the only direction it has left. From there, it needs an 'A', a 'B', and a 'C'. The only 'A' within reach is one cell further up, but it seems there are two possibilities for acquiring 'B' and 'C': both from the center row, or both from the row below it. However, I can see which is correct: between the walls separating the four 'B's in a square, the section I'm building, and the first partial section I was building, I'm surrounding the 'C' that's one cell diagonally in from the bottom-right corner. If I use the center-row 'B' and 'C' to complete this section, it'll be trapped! Since I can't leave a man behind in this puzzle, I need to use that 'C' here instead, and consequently the 'B' to its left as well. But hey - that resolves the decision I had to make with the first section! I now have two of the five polyominoes finished off.

The hardest parts are over - it's fairly straightforward from here on out. The 'E' in the leftmost column has only one means of getting the rest of the letters it needs (straight up to the corner, and the 'B' to the side), so that's easy to wall off. To finish off the last two sections, I note that the remaining 'A' in the rightmost column can only reach one of the two remaining 'D's, which means the other remaining 'A' on the top row has to use the other; its section is defined from there, and of course the remaining five cells must make up the last section, which they do legally.
(End of sample puzzle solution)


I thought it would be particularly fitting for me to use the usernames of the two actual declared polyamorous individuals on my Friends list for my first Polyamory. In addition to the obvious, it also happens that they consider each other archnemeses; the grid below, to me, looks like their minions duking it out in a massive melee. Another curiosity is that unlike everyone else on my Friends list, I discovered them, as opposed to the other way around or having known me prior to my starting this journal. I'm curious to see if either of them notices. Of course, anyone who notices the puzzle may feel free to comment on it here (barring spoilers, natch), and if I'm emailed the solution, my standard practice is to verify it and on occasion award a prize if correct. My email address is on my User Info page (as is my privacy policy). - ZM



[identity profile] avenger314.livejournal.com 2006-01-26 08:47 am (UTC)(link)
Hi Adam,

One point to bring up. It's borderline trivial, but I think you may find it useful to consider. Would you be willing to place the guide for solving the sample puzzle before the rules for the puzzle? If this were a printed medium, this would be a poor idea, but it may work better for lj. The reason I say this is because you have lj cuts for each sample puzzle. The typical procedure is for someone to read the post in its entirety, starting with the intro to the puzzle, then the picture of the sample puzzle, then the rules, then the full puzzle, then the directions for solving the sample puzzle. When looking at the sample puzzle rules, it becomes necessary on my (and presumably other people's) monitor to read a directive for the sample puzzle, then scroll up past the rules to the picture. I bring this up not out of laziness, but out of desired comprehension: It's a good deal easier to learn from a rule if both the rule and the picture it applies to are both immediately visible (requiring only a glance up or down) than to scroll the window up or down, losing some time in the process. I know it's only perhaps 1.5-2 seconds' worth of time lost, but that may actually be significant in terms of human processing/learning. Anyway, something I'd just like you to consider, if you would. Thankee.

[identity profile] ralphmerridew.livejournal.com 2006-01-26 11:33 am (UTC)(link)
How about putting the rules before the sample instead? That way the rules aren't between the puzzle and the explanation.