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
- Pick a number.
- Count how many cells in each row could take it.
- Find two rows with exactly two such cells, in the same two columns.
- Remove that number from the other cells of those two columns.
- 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.
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).
- Look at the two marked rows.
- 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.
- You can remove 2 from the notes of the marked cells.
Common mistakes
- Using a base line that actually has three candidates. Both base lines need exactly two.
- Clearing in the wrong direction. If your base lines are rows, you clear columns, and the other way round.
- Removing the candidate from the four corners. Two of those corners hold the answers.
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