Swordfish Sudoku Technique
The Swordfish sudoku pattern is the three-line version of the X-Wing. Take one digit, find three rows in which it is confined to the same three columns, and that digit can be removed from those three columns everywhere else in the grid.
What the pattern is
Work with a single digit at a time. Pick three rows (the base lines) where the digit has at most three candidate cells each. If every one of those candidates falls inside the same three columns, you have a Swordfish, and those three columns are the cover lines.
The reasoning is pure counting. Three rows each need one copy of the digit, all three copies live in three columns, and a column holds one copy at most. So the three columns are fully booked by the three rows. No other cell in those columns can take the digit.
Everything works the same way with rows and columns swapped: three columns confined to three rows eliminate the digit from those rows.
| X-Wing | Swordfish | |
|---|---|---|
| Base lines | 2 | 3 |
| Cover lines | 2 | 3 |
| Candidates per base line | Exactly 2 | 2 or 3 |
| Pattern cells | 4 | 6 to 9 |
| Typical eliminations | 1 to 4 | 2 to 8 |
The relaxed count is what makes a Swordfish hard to see: a base line may show two candidates or three, and the pattern is usually ragged rather than a neat rectangle.
When to look for it
- One digit is already placed six or seven times, so only a few rows still need it.
- Two rows share a pair of columns but no third row completes an X-Wing.
- Singles, subsets and pointing rules are all exhausted and you would rather not start a chain.
How to apply it, step by step
- Pick a digit and write down, for every row, the columns where it is still possible.
- Ignore any row with four or more columns, it cannot be a base line.
- Look for three rows whose columns, combined, come to exactly three columns.
- Mark those three columns as covers.
- Remove the digit from every cell of those columns that lies outside the three base rows.
- Repeat with columns as the base lines.
A worked example
Only the digit 5 matters. Look at rows B, D and H: row B can hold 5 only in B7 or B8, row D only in D3 or D7, and row H only in H3, H7 or H8.
All these 5s lie in columns 3, 7 and 8, and no two of the rows share the same pair of columns, so this is a true Swordfish and not an X-Wing in disguise. The counts are ragged: two, two and three candidates. Each of the three rows needs its own 5, and a column holds only one, so columns 3, 7 and 8 get their 5s in rows B, D and H.
That frees the rest of those columns: 5 comes off F7, F8 (columns 7 and 8), G3 (column 3) and J8 (column 8). Four eliminations, and no placement follows directly here.
Common mistakes
- Demanding three candidates in every base row. Two is fine, and mixed rows are the common case.
- Counting four columns. If the three base rows touch four different columns the logic collapses.
- Eliminating inside the base rows. The pattern cells themselves keep the digit.
- Confusing a Swordfish with three pointing pairs. Pointing works inside one box; a Swordfish spans the whole grid.
- Missing the column-based version. Always run the search both ways round.
Where you meet it
Swordfish patterns start to matter on hard classic Sudoku, alongside the wings. They are much rarer than X-Wings, so treat the search as a last sweep before you move on to colouring and chains, and if three lines are not enough, the same counting argument at four lines is a Jellyfish.