The X-Wing and the Swordfish are advanced techniques that focus on just one digit. In the NumberPlace app, the X-Wing is a tier 3 technique and the Swordfish is a tier 4 technique, and they appear in ★4 and ★5 puzzles. The diagrams are the middle of puzzles made by the app, and show only the candidates for one digit.

The Idea Behind the X-Wing

If, in two columns, the candidates for a digit are both only in the same two rows, you can cross that digit out of the other squares in those two rows.

It works with rows and columns swapped, too. Advanced Sudoku showed an example seen from the rows, so here is an example seen from the columns.

1122334455667788995852935974531628352865519745628385391275424578391543785273562584152814537
  • In column 2, the 5 can go only in row 3, column 2 or row 5, column 2.
  • In column 8, the 5 can go only in row 3, column 8 or row 5, column 8.

If the 5 of column 2 is in row 3, the 5 of column 8 is in row 5, and if the 5 of column 2 is in row 5, the 5 of column 8 is in row 3. In either case, the 5s of rows 3 and 5 are used up by columns 2 and 8. So you can cross out the 5 in the other squares of rows 3 and 5 (row 3, column 9).

The Idea Behind the Swordfish

This widens the X-Wing from two lines to three.

If, in three rows, the candidates for a digit lie in a total of only three columns, you can cross that digit out of the other squares in those three columns.

112233445566778899283471757967385421415792777873417267192837537215777787651727774277817129847576

The 7s of rows 5, 7, and 9 can go only in columns 2, 6, and 8 (the 7s in row 3, column 8; row 3, column 9; and row 7, column 9 were already crossed out earlier by another technique).

  • Each of the three rows holds one 7.
  • Those three 7s go one each in columns 2, 6, and 8 (because two can’t go in the same column).

In other words, the 7s of columns 2, 6, and 8 are used up by these three rows. So you can cross out the 7 in every other square of those three columns. In the diagram, as many as seven are crossed out.

The candidates in a row can be two or three. In the diagram, rows 5 and 9 have two, and row 7 has three.

How to Find Them

  1. Pick one digit and look only at that digit’s candidates (in the app, when you select a square with a digit, the same digit in the notes is lit with a gold circle).
  2. Look for rows with only two candidates for that digit. If another row has candidates in the same two columns, it’s an X-Wing.
  3. Pick three rows that each have two or three candidates, and if the columns fit into three in total, it’s a Swordfish.
  4. If you can’t find one with rows, check the same thing with columns.

It’s hard to find while there are many candidates, so the tip is to reduce candidates first with pairs and locked candidates, then look (Pairs and Triples).

You can imagine the same shape with four rows and four columns, but it hardly ever appears in ordinary puzzles. The app also goes only up to the X-Wing and the Swordfish. The XY-Wing, which combines squares with two candidates, is covered in How to Solve Hard Sudoku.