Swordfish: The Next Step Beyond X-Wing in Sudoku
A Swordfish in Sudoku is a [X-Wing](/techniques/x-wing) pattern extended to three rows and three columns. It is an advanced candidate elimination technique where a single digit is confined to at most three cells in three different rows, and those cells align in exactly three columns. This 3x3 grid pattern, while rare, is a logical progression from simpler methods and is essential for solving the most difficult puzzles. Spotting a Swordfish allows you to eliminate that candidate from all other cells in the columns that form the pattern, breaking open a grid that seems stuck.
The Swordfish Pattern Defined
The Swordfish pattern is identified by a single candidate digit. This digit must be a possible candidate in at most three cells within each of three different rows. The critical factor is that these cells align across only three columns. This creates a 3x3 matrix where the candidate is confined, even though the cells are not in the same box. You only need the candidate to appear in two or three cells per row, but the total column alignment must be exactly three. This setup is the foundation for all Swordfish eliminations.
How Swordfish Extends the X-Wing Logic
A Swordfish directly builds on the logic of the X-Wing. An X-Wing uses two rows and two columns. A Swordfish simply adds one more dimension, using three rows and three columns. The core principle is identical: the candidate digit must be placed in one of the pattern's cells in each row. Because the cells align in only three columns, the candidate is forced into one cell per column as well. This column restriction is what gives the Swordfish its power to eliminate other instances of that digit in those columns. It's the natural next step after mastering the X-Wing and is often found in puzzles where an X-Wing search comes up empty.
How to Spot a Swordfish in a Puzzle
Swordfish patterns are rare and typically appear only in Very Hard or Expert-level puzzles after basic techniques and simpler X-Wing patterns have been exhausted. To find one, pick a candidate digit and scan the grid. Look for three rows where that digit appears as a candidate in only two or three cells. Then, check if those cells' columns overlap to form a set of exactly three columns total. The pattern can also occur with the roles of rows and columns swapped. This search requires systematic scanning of the candidate grid, which is why using pencil marks is non-negotiable. Our hint engine finds that players often miss Swordfish because they stop looking for complex patterns too soon.
- Focus on digits that appear frequently as candidates across the grid but are not yet placed.
- If you can't find an X-Wing for a stubborn digit, check if it forms a Swordfish.
The Swordfish Elimination Rule
Once you confirm a Swordfish pattern, you can make eliminations. The rule is: you can remove the candidate digit from all other cells in the three columns that are part of the pattern. If your Swordfish is defined by three columns and three rows, you eliminate from the rows. The logic is that the digit must occupy one of the Swordfish cells in each of the three rows, which collectively saturates the three columns. Therefore, the digit cannot appear anywhere else in those columns. This elimination can remove several candidates at once, often revealing a Naked Single or breaking a logjam, a key move in any guide on How to Solve Hard Sudoku.
Why the Swordfish is Challenging to Find
The Swordfish is difficult because it requires tracking candidates across a wide area of the grid and recognizing a specific, sparse 3x3 configuration. Unlike an X-Wing, which is challenging enough, the Swordfish adds another layer of complexity. Players often confuse incomplete patterns or miss them because they don't maintain clean pencil marks. Also, the pattern can be rotated, existing in columns defining rows. Practice is key to developing the spatial recognition needed. Learning patterns like the Y-Wing and Swordfish trains your brain to see these abstract relationships, moving you from intermediate to advanced solving.
Key Facts
- ▪A Swordfish is an advanced Sudoku technique that extends the X-Wing pattern to three rows and three columns.
- ▪It applies to a single candidate digit that appears in at most three cells in each of three different rows, with those cells aligned in only three columns.
- ▪The core logic is that the digit must be placed once in each row, forcing it to also occupy each of the three involved columns.
- ▪Once identified, you can eliminate that candidate from all other cells in the three columns (or rows, if the pattern is column-based).
- ▪Swordfish patterns are rare and are typically only needed for solving Very Hard or Expert-level Sudoku puzzles.
- ▪Spotting a Swordfish requires accurate and complete pencil marks for all candidate digits in the grid.
- ▪The pattern can appear in two orientations: with three rows defining three columns, or with three columns defining three rows.
- ▪Mastering the Swordfish is a significant step towards solving the most difficult puzzles that resist basic and intermediate techniques.
Frequently Asked Questions
What is the difference between an X-Wing and a Swordfish?
An X-Wing uses two rows and two columns. A Swordfish extends this logic to three rows and three columns, making it a more complex pattern for eliminating candidates in harder puzzles.
Do the cells in a Swordfish have to be in the same 3x3 box?
No. The power of the Swordfish comes from the alignment across rows and columns, not boxes. The cells can be spread across the entire 9x9 grid, as long as they meet the row and column alignment rules.
How many cells must contain the candidate in a Swordfish row?
Each of the three defining rows must contain the candidate in exactly two or three cells. The total alignment must cover exactly three columns for the pattern to be valid.
Can a Swordfish pattern eliminate candidates in rows?
Yes. If the pattern is defined by three columns (with the candidate in 2-3 cells per column aligning in three rows), then you eliminate the candidate from other cells in those three rows.
When should I look for a Swordfish?
Look for a Swordfish only after exhausting all basic techniques and simpler advanced methods like the X-Wing. It is a last resort for very stubborn candidates in the hardest puzzles.
Is the Swordfish the most complex fish pattern?
No. The Swordfish (size 3) is part of a family. Larger patterns exist, like Jellyfish (size 4) and Squirmbag (size 5), but they are exceedingly rare in published puzzles.