내용 |
Nonogram - Wikipedia, the free encyclopediaSimple boxesAt the beginning of the solution a simple method can be used to determine as many boxes as possible. This method uses conjunctions of possible places for each block of boxes. For example, in a row of ten cells with only one clue of 8, the bound block consisting of 8 boxes could spread from - the right border, leaving two spaces to the left;
- the left border, leaving two spaces to the right;
- or somewhere in between.
In result, the block will spread for sure through the conjunction in the middle. The same of course applies when there are more clues in the row. For example, in a row of ten cells with clues of 4 and 3, the bound blocks of boxes could be - crowded to the left, one next to the other, leaving two spaces to the right;
- crowded to the right, one just next to the other, leaving two spaces to the left;
- or somewhere between.
Consequently, the first block of four boxes definitely includes the third and fourth cells, while the second block of three boxes definitely includes the eighth cell. Boxes can therefore be placed in the third, fourth and eighth cells. Important note: When determining boxes in this way, boxes can be placed in cells only when the same block overlaps; in this example, although two blocks overlap in the sixth cell, they are different blocks, and so it cannot yet be said whether or not the sixth cell will contain a box. Simple spacesThis method consists of determining spaces by searching for cells that are out of range of any possible blocks of boxes. For example, considering a row of ten cells with boxes in the fourth and ninth cell and with clues of 3 and 1, the block bound to the clue 3 will spread through the fourth cell and clue 1 will be at the ninth cell. First, the clue 1 is complete and there will be a space at each side of the bound block. Second, the clue 3 can only spread somewhere between the second cell and the sixth cell, because it always has to include the fourth cell; however, this may leave cells that may not be boxes in any case, i.e. the first and the seventh. Note: In this example all blocks are accounted for; this is not always the case. The player must be careful for there may be clues or blocks that are not bound to each other yet. ForcingIn this method, the significance of the spaces will be shown. A space placed somewhere in the middle of an uncompleted row may force a large block to one side or the other. Also, a gap that is too small for any possible block may be filled with spaces. For example, considering a row of ten cells with spaces in the fifth and seventh cells and with clues of 3 and 2: - the clue of 3 would be forced to the left, because it could not fit anywhere else.
- the empty gap on the sixth cell is too small to accommodate clues like 2 or 3 and may be filled with spaces.
- finally, the clue of 2 will spread through the ninth cell according to method Simple Boxes above.
GlueSometimes, there is a box near the border that is not farther from the border than the length of the first clue. In this case, the first clue will spread through that box and will be forced to the right by the border. For example, considering a row of ten cells with a box in the third cell and with a clue of 5, the clue of 5 will spread through the third cell and will continue to the fifth cell because of the border. Note: This method may also work in the middle of a row, further away from the borders. - A space may act as a border, if the first clue is forced to the right of that space.
- The first clue may also be preceded by some other clues, if all the clues are already bound to the left of the forcing space.
Joining and splittingBoxes closer to each other may be sometimes joined together into one block or split by a space into several blocks. When there are two blocks with an empty cell between, this cell: - will be a space, if joining the two blocks by a box would produce a too large block;
- and will be a box, if splitting the two blocks by a space would produce a too small block that does not have enough free cells around to spread through.
For example, considering a row of fifteen cells with boxes in the third, fourth, sixth, seventh, eleventh and thirteenth cell and with clues of 5, 2 and 2: - the clue of 5 will join the first two blocks by a box into one large block, because a space would produce a block of only 4 boxes that is not enough there;
- and the clues of 2 will split the last two blocks by a space, because a box would produce a block of 3 continuous boxes, which is not allowed there.
- Note: The illustration picture also shows how the clues of 2 will be further completed. This is, however, not part of the Joining and splitting technique, but the Glue technique described above.
PunctuatingTo solve the puzzle, it is usually also very important to enclose each bound and/or completed block of boxes immediately by separating spaces as described in Simple spaces method. Precise punctuating usually leads to more Forcing and may be vital for finishing the puzzle. Note: The examples above did not do that only to remain simple. MercuryMercury is a special case of Simple spaces technique. Its name comes from the way mercury pulls back from the sides of a container. If there is a box in a row that is in the same distance from the border as the length of the first clue, the first cell will be a space. This is because the first clue would not fit to the left of the box. It will have to spread through that box, leaving the first cell behind. Furthermore, when the box is actually a block of more boxes to the right, there will be more spaces at the beginning of the row, determined by using this method several times. |