Queens solving techniques

Every Queens board on this site can be finished without guessing. This guide covers the four tiers of reasoning our solver uses to grade puzzles, from the single move that cracks an easy board to the short “what if” test that expert boards sometimes require.

Play Queens How to play Queens

The tiers line up with the difficulty levels. Easy boards need only Tier 1. Medium boards add Tier 2, Hard boards need at least one Tier 3 step, and Expert boards may need Tier 4. Whatever the tier, the solver always tries the simplest technique first, and so should you: most moves on a hard board are still Tier 1 moves.

The diagrams use the same marks as the game. A cross means a cell cannot hold a queen. In each diagram the shaded cells are the ones the technique looks at, the outlined cells are the ones it decides, and new queens or crosses are drawn in red. Rows and columns are numbered so cells can be named (R3C5 is row 3, column 5), and each region carries a small letter so it can be named too. Most diagrams follow a single 7x7 board from its first step to the point where it needs a Tier 4 test.

Figure 1. The 7x7 board used in this guide. Note region G, only two cells in the bottom row, and region F just above it.ABCDEFG12345671234567
Figure 1. The 7x7 board used in this guide. Note region G, only two cells in the bottom row, and region F just above it.

Tier 1 Last open cell

Used from Easy up

Each region, row and column needs exactly one queen. When all but one of its cells are crossed out, the queen must go in the remaining cell. This is the workhorse of every Queens solve, and it comes in three flavors: a region with one open cell, a row with one open cell, and a column with one open cell.

The partner of this rule is what happens after you place a queen. A new queen crosses out its whole row, its whole column, the rest of its region and its eight neighbors. Those crosses are what create the next “last open cell” somewhere else, so always finish crossing before you look for the next move.

Figure 2. Region version (the 6x6 board from the how-to-play page): the cells of region D in row 2 are crossed, so its queen must be at R3C5.ABCDEF123456123456
Figure 2. Region version (the 6x6 board from the how-to-play page): the cells of region D in row 2 are crossed, so its queen must be at R3C5. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.
Figure 3. Column version: after the two Tier 2 steps shown below, column 7 has a single open cell, R1C7.ABCDEFG12345671234567
Figure 3. Column version: after the two Tier 2 steps shown below, column 7 has a single open cell, R1C7. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Small regions are the usual starting point. A region of one cell is solved on sight, and a region of two or three cells often collapses after one nearby queen. Scanning the rows and columns is just as important on larger boards, because a long row can quietly lose all but one of its cells.

Tier 2 A region locked in one line

Needed from Medium up

Sometimes you cannot say exactly where a queen goes, but you can say which row it must be in. If every open cell of a region lies in the same row, then the region’s queen will be in that row, wherever it ends up. That row’s queen is therefore already spoken for, and every cell of the row that belongs to another region can be crossed out. The same reasoning works with columns.

The rule also runs the other way. If every open cell of a row belongs to one region, the row’s queen is that region’s queen, so the rest of the region, outside the row, can be crossed out.

Figure 4. Region G (R7C5 and R7C6) lies entirely in row 7, so no other region can use row 7.ABCDEFG12345671234567
Figure 4. Region G (R7C5 and R7C6) lies entirely in row 7, so no other region can use row 7. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.
Figure 5. Row 1 lies entirely in region A, so A’s queen is in row 1 and every cell of A below row 1 is crossed out.ABCDEFG12345671234567
Figure 5. Row 1 lies entirely in region A, so A’s queen is in row 1 and every cell of A below row 1 is crossed out. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Look for this pattern after every few moves. Regions shaped like a bar, or regions that have been trimmed by crosses until they fit in one line, are the typical candidates. Thin regions along the edge of the board are especially likely to lock into a single row or column.

Tier 3 Groups of regions sharing lines

Needed from Hard up

Tier 2 links one region to one line. Tier 3 links a group. If two regions together fit inside two rows, those two rows must hold those two regions’ queens, because two rows only have room for two queens. Any other region’s cells in those rows can be crossed out. In the other direction, if the open cells of two rows all belong to just two regions, the queens of those regions are used up by those rows, and the regions’ cells in other rows are crossed out. The pattern scales up: three regions in three columns, four rows covered by four regions, and so on.

Figure 6. Every open cell in rows 2 and 3 belongs to region B or C. Those two rows take B’s and C’s queens, so R4C5, the cell of C outside them, is crossed out.ABCDEFG12345671234567
Figure 6. Every open cell in rows 2 and 3 belongs to region B or C. Those two rows take B’s and C’s queens, so R4C5, the cell of C outside them, is crossed out. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Counting is the whole trick. In the diagram, rows 2 and 3 need two queens, and the only regions that can supply them are B and C. So B and C each place their queen inside those rows, and C cannot use R4C5. A little later the same board offers the column version: regions F and G both live entirely in columns 5 and 6, so those two columns belong to them.

Figure 7. Regions F and G both fit inside columns 5 and 6, so no other region can use those columns. R3C5, a cell of region C, is crossed out.ABCDEFG12345671234567
Figure 7. Regions F and G both fit inside columns 5 and 6, so no other region can use those columns. R3C5, a cell of region C, is crossed out. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Groups are harder to spot than single regions because no single region looks special. A good habit is to look at two neighboring rows or columns together and list the regions that still have open cells there. If the number of regions equals the number of lines, you have found a group.

Tier 4 Testing a cell for a contradiction

Expert only

When no pattern applies, you can test a single cell. Suppose a queen stood there, cross out what it rules out, and follow the easy Tier 1 and Tier 2 consequences. If that leads to a region, row or column with no open cell left, the supposition was impossible and the cell can be crossed out for real. This is not guessing: you never commit to the queen, you only prove that it cannot be there.

Figure 8. A queen at R6C6 would touch both cells of region G, leaving G with nowhere to go. So R6C6 is crossed out.ABCDEFG12345671234567
Figure 8. A queen at R6C6 would touch both cells of region G, leaving G with nowhere to go. So R6C6 is crossed out. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Here the test is short. R6C6 belongs to region F, and it touches both R7C5 and R7C6, which make up the whole of region G. A queen on R6C6 would cross out both of them and leave G with no open cell, which breaks the one-per-region rule. With R6C6 gone, column 6 has a single open cell, R7C6, and the rest of the board follows from Tier 1 moves.

Pick test cells wisely. The best candidates are cells next to a small region or cells that would finish off a nearly full row, because their consequences show up quickly. If a test runs on for many moves without a contradiction, stop and try another cell rather than following it to the end.

A solving routine

  1. Place every forced queen (Tier 1) and finish its crosses.
  2. Check each region: does it fit in one row or one column? Check each row and column: does it fit in one region? (Tier 2)
  3. Look at pairs and triples of neighboring lines and count the regions in them (Tier 3).
  4. Only then test a cell next to a small region (Tier 4), and go back to step 1 as soon as it pays off.

Practice the tiers in order: Medium boards for Tier 2, Hard boards for groups of regions, and Expert boards when you want to test cells. If any rule above is unclear, the how-to-play page walks through a full easy board.

Keep going