Shikaku solving techniques

Shikaku looks like a drawing puzzle, but every rectangle on a well-made grid can be proven. This guide explains the four tiers of reasoning our solver uses to grade puzzles, illustrated on one 10x10 grid from its first rectangle to the test that expert puzzles sometimes require.

Play Shikaku How to play Shikaku

Throughout, think of each number as having a list of candidate rectangles: every rectangle of the right area that contains that number and no other number, and does not overlap anything already drawn. Solving is the job of shrinking those lists until each number has one rectangle left.

Tier 1 solves easy 5x5 grids. Medium grids need Tier 1 over many rounds (Tier 2), Hard grids need reasoning between two numbers (Tier 3), and Expert grids may need a test (Tier 4). In the diagrams, the shaded cells are the ones a step looks at, outlined cells are the ones it decides, new rectangles have a red border, and a dashed red outline marks a candidate that has just been ruled out.

Figure 1. The 10x10 grid used in this guide. Its sixteen numbers add up to 100.54512166852425391041234567891012345678910
Figure 1. The 10x10 grid used in this guide. Its sixteen numbers add up to 100.

Tier 1 One rectangle left, or one number left

Used from Easy up

Two simple checks do most of the work. One rectangle left: if a number has only one candidate rectangle, draw it. One number left: if an empty cell lies inside candidates of only one number, that number must cover it; if only one of that number’s candidates contains the cell, draw it.

Figure 2. The corner cell R1C1 can only be reached by the 5 at R3C1, and only by the strip down column 1 from R1C1 to R5C1.54512166852425391041234567891012345678910
Figure 2. The corner cell R1C1 can only be reached by the 5 at R3C1, and only by the strip down column 1 from R1C1 to R5C1. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Corners are the classic starting point. A 5 is a straight strip, and a strip across row 3 would never reach the corner, so the vertical strip is the only option. The 16 at R4C3 cannot help either: any 16-cell rectangle that reached R1C1 from R4C3 would also contain the 5. The same reasoning gives the strip below it, from R6C1 to R10C1, for the 5 at R8C1.

Tier 2 Patience: the same rules over many rounds

Needed from Medium up

Tier 2 uses no new idea. It is Tier 1 applied round after round, where each new rectangle removes candidates from its neighbors and creates the next forced move. Our solver counts these rounds, and once a grid needs several of them before a step becomes available, that step counts as Tier 2. In practice it means keeping careful track of which candidates each new rectangle destroys.

Figure 3. After the 16 and the 10 are drawn, R8C4 is walled in on the left and below. Only the 8 at R5C5 can reach it, as the 2x4 block from R5C4 to R8C5.54512166852425391041234567891012345678910
Figure 3. After the 16 and the 10 are drawn, R8C4 is walled in on the left and below. Only the 8 at R5C5 can reach it, as the 2x4 block from R5C4 to R8C5. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

At the start of the puzzle, R8C4 could have belonged to several numbers. Only after the tall 16 and the wide 10 were placed did the 8 become its sole owner. Working outward from each new rectangle, and asking “who can reach this cell now?” for the cells it touches, finds these moves quickly.

Tier 3 Cells every option shares

Needed from Hard up

Tier 3 compares two numbers. If every remaining candidate of one number covers a particular cell, that cell is spoken for, even before you know which rectangle the number gets. Any candidate of another number that uses the cell can be crossed off the list. A related rule works the other way: if a candidate of one number would overlap every candidate of a second number, it would leave the second number with nowhere to go, so it is ruled out.

Figure 4. Every shape left for the 4 at R1C9 covers R2C9, so the 6 at R4C10 cannot use the 2x3 block from R2C9 to R4C10 (dashed).54512166852425391041234567891012345678910
Figure 4. Every shape left for the 4 at R1C9 covers R2C9, so the 6 at R4C10 cannot use the 2x3 block from R2C9 to R4C10 (dashed). Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Why does the 4 at R1C9 always cover R2C9? It cannot lie along row 1, because any four-cell strip there would include the 5 at R1C7. What remains are the two 2x2 squares below it and the vertical strip down column 9, and all three contain R2C9. The 6 at R4C10 loses one of its candidates as a result, and the grid moves a little closer to forced rectangles.

A third Tier 3 idea: if only one number can reach a certain empty cell, every candidate of that number that misses the cell can be dropped, even when the number still has several shapes that do cover it.

Tier 4 Testing a rectangle

Expert only

When the lists stop shrinking, test one candidate. Pretend it is drawn and apply the Tier 1 checks. If some number ends up with no rectangle, or some cell ends up unreachable, the candidate was impossible and you can cross it off.

Figure 5. Laying the 5 at R1C7 along row 1 (dashed) would leave the 4 at R6C9 with no room, so the 5 must run down column 7.54512166852425391041234567891012345678910
Figure 5. Laying the 5 at R1C7 along row 1 (dashed) would leave the 4 at R6C9 with no room, so the 5 must run down column 7. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Follow the test. If the 5 at R1C7 took R1C4 to R1C8, it would no longer reach R5C7. The only number left that could cover R5C7 is the 5 at R5C8, stretched along row 5 from R5C6 to R5C10. That forces the 2 at R6C6 into R6C6 and R6C7, and the 4 at R6C9 is left with R6C8, R6C9 and R6C10: three cells, sealed in by row 5 above and the finished rectangles below. A 4 cannot fit, so the flat 5 is impossible.

Pick test candidates that would block a crowded area, like a long strip next to several small numbers. Their consequences show up within a move or two.

A solving routine

  1. Draw every number that has one candidate, and cover every cell only one number can reach (Tier 1).
  2. After each rectangle, revisit the numbers and cells next to it (Tier 2).
  3. Look for cells that all of a number’s candidates share, and remove other numbers’ candidates there (Tier 3).
  4. Test a candidate that would crowd small numbers (Tier 4), then go back to step 1.

Practice on Medium 7x7 grids for chained rounds, then try Hard 10x10 and Expert 15x15 grids. New to the puzzle? Start with the Shikaku rules and walkthrough.

Keep going