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.
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.
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.
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.
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.
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.
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
- Place every forced queen (Tier 1) and finish its crosses.
- 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)
- Look at pairs and triples of neighboring lines and count the regions in them (Tier 3).
- 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.