QueensGames / Classic puzzle reference
N-Queens rules
In classic N-Queens, queens must not share a row, column or any diagonal. This is a reference for the older rules, separate from the game now on this site.
The three checks
Place N queens on an N × N board. Every row and column must contain exactly one queen, and no pair may share any diagonal, however far apart they are. Ordinary N-Queens has no colored-region requirement.
This reference preserves the classic rules explained by our old rules pages. The former site's playable variant also added colored regions. That older board, its leaderboard and its controls are no longer available here. The Daily Queens game on our homepage is a different puzzle: use its current playing guide.
A 4 × 4 solution you can check
Number rows from top to bottom and columns from left to right. Put queens at R1C2, R2C4, R3C1 and R4C3.
| Row | Queen's column |
|---|---|
| 1 | 2 |
| 2 | 4 |
| 3 | 1 |
| 4 | 3 |
All four columns differ. To check a diagonal, count the rows and columns between any two queens: equal distances mean a conflict. R1C2 and R3C1 are two rows and one column apart, so that pair is safe. R1C1 and R3C3 would be unsafe even though a square separates them.
Work through a board without guessing blindly
Start with one queen in the first row. Cross out its column and both diagonals in later rows. In the next row, try a remaining square and repeat. If a row has no safe square, undo the last placement and try its next candidate. This is backtracking; a dead end is a reason to revise a choice, not to relax a rule.
Why the current game allows some diagonals
Daily Queens requires one queen per row, column and colored region, with no touching corners. Its restriction only excludes adjacent diagonal squares. Applying classic whole-diagonal exclusions to it can erase valid choices. See the current diagonal rules and diagrams before switching between the two puzzles.
For the mathematical definition and a solver explanation, see Google's N-Queens reference.