Solver

Queens Solver

Paint the colour regions of any Queens board. Next step places one queen and says why; Solve places them all.

Pick a colour and paint its region. Cells you leave unpainted keep the first colour.

How to solve a Queens puzzle

  1. Each row, each column and each colour region holds exactly one queen, and no two queens touch, not even at a corner.
  2. Start with the smallest region: a one-cell region is a queen, and a region that lies entirely in one row or column holds that line's queen, so the rest of the line is empty.
  3. When you place a queen, cross out the rest of its row, its column, its region and the eight cells around it.
  4. If two regions lie entirely within the same two rows, those rows' queens are theirs: cross out every other cell of those rows. The same works for columns, and for three regions in three lines.
  5. When no cell is forced, test one: if a queen there leaves a row, column or region with no free cell, that cell is empty.
How the solver works

How do I enter a Queens puzzle?

Pick a colour, then tap or drag across the cells of that colour's region. Repeat for each colour.

How does the Queens solver work?

It tries the placements of one queen per row, column and colour region, with no two queens touching, and keeps the ones that break no rule.

Can it show me just the next step?

Yes. Next step finds a row, column or region with only one free cell left and highlights the cells that prove it.

Does it solve the Queens puzzle on LinkedIn?

Yes, for boards up to 8×8: the rules are the same. This site is not affiliated with LinkedIn.

What if my board has more than one solution?

The solver says so and shows one of them. A well-made Queens puzzle has exactly one solution.

Does the solver know today's puzzle?

No. It solves only the board you paint; today's puzzle is on the Queens page.