Numoja › Techniques › X-Wing

X-Wing 엑스윙

A number fits in the same two positions in two lines. Remove it from the crossing lines.

First needed at: ExpertEngine order: #10

What it is

The X-Wing looks at one number across two lines at once. Suppose that in two rows a number fits in exactly two cells each, and those cells are in the same two columns in both rows. The four cells form the corners of a rectangle.

If the first row's copy goes in the left corner, the second row's copy must go in the right corner (a column can't hold the number twice), and vice versa. Either way, each of the two columns gets its copy of the number from one of those corners. So the number can be removed from every other cell in those two columns. The same works with rows and columns swapped. Join the opposite corners and you get an X, hence the name.

When to use it

The X-Wing is the hardest technique in Numoja and is only needed at the Expert level. The engine only looks for it once the other nine techniques have nothing left. It appears in 29 of the 100 Expert puzzles in our bank.

To find one, choose a number and count its candidates in each row. If two or more rows have exactly two, compare the column positions. If rows give you nothing, do the same counting by columns.

Step by step

  1. Pick a number.
  2. Count how many cells in each row could take it.
  3. Find two rows with exactly two such cells, in the same two columns.
  4. Remove that number from the other cells of those two columns.
  5. If rows don't work, try columns instead; then you clear the two rows.

Examples

Cell names: "R3C5" means row 3 (counting from the top), column 5 (counting from the left). Boxes are numbered 1 to 9 like reading a page: 1, 2, 3 across the top, then 4, 5, 6, then 7, 8, 9. The small numbers above and left of each grid are the column and row numbers.

Example grid: X-001-000211223344556677889927958223267222873268197459714563282972322223568472254212
5Given number5Filled earlierUnit to look atAlso involvedKey cells5Key candidates5Candidate removed
Example 1. In row 1 and row 8, 2 fits in exactly two cells each, and those cells line up in the same columns, column 1 and column 9, forming four corners (R1C1, R1C9, R8C1 and R8C9). The two 2s must sit in opposite corners, so remove 2 from the other cells of column 1 and column 9: R2C1, R9C1, R2C9, R7C9 and R9C9. To keep it readable, only the 2 candidates are drawn. 1 candidate removed in an earlier step is not drawn; they do not involve this example.Puzzle X-001-0002 (Expert) from the Numoja puzzle bank, just before step 17 of the engine's solve.
Example grid: X-001-0026112233445566778899723943991474793514937796349819939796429969477299799915
5Given number5Filled earlierUnit to look atAlso involvedKey cells5Key candidates5Candidate removed
Example 2. In column 1 and column 4, 9 fits in exactly two cells each, and those cells line up in the same rows, row 6 and row 9, forming four corners (R6C1, R6C4, R9C1 and R9C4). The two 9s must sit in opposite corners, so remove 9 from the other cells of row 6 and row 9: R6C2, R6C6, R9C3 and R9C6. To keep it readable, only the 9 candidates are drawn. 3 candidates removed in earlier steps are not drawn; they do not involve this example.Puzzle X-001-0026 (Expert) from the Numoja puzzle bank, just before step 18 of the engine's solve.
What the Numoja hint says
If you tapped Hint at the moment shown in Example 1, each tap would reveal one more line (these are the exact messages the app uses).
  1. Look at the two marked rows.
  2. X-Wing: In two rows, 2 fits only in the same two columns. So 2 can be removed from the other cells of those two columns.
  3. You can remove 2 from the notes of the marked cells.

Common mistakes

What to learn next

That's all ten techniques. Head to the difficulty guide to plan your practice. Difficulty

Play an Expert puzzle on Numoja