Queen Puzzle - Interactive Chess Logic Game

The queen puzzle family spans classical mathematics, modern brain-training apps, and viral social games. Here is everything you need to know — and a free interactive board to play on.

What is the Queen Puzzle?

The term "queen puzzle" refers to a family of logic puzzles centered on placing chess queens on a board subject to non-attack constraints. The chess queen is the most powerful piece on the board: she can move any number of squares horizontally, vertically, or diagonally. In a queen puzzle, your goal is to arrange multiple queens on a grid so that none of them can attack any other — meaning no two queens share a row, column, or diagonal.

The queen puzzle concept was first formalized in 1848 when chess composer Max Bezzel published the 8 Queens Problem in a German chess magazine. Since then it has grown into a rich family of variations studied in recreational mathematics, computer science, and cognitive psychology. The fundamental appeal is universal: the rules are simple enough to explain in 30 seconds, yet the challenge scales from a beginner-friendly 4×4 version all the way to computationally intensive boards requiring millions of solutions.

In 2024–2025, queen puzzles experienced a viral resurgence when LinkedIn launched its daily Queens game — a colored-region variant that attracted millions of new players to the puzzle format. Whether you arrived here from that LinkedIn game, a computer science course, or simple curiosity, you are exploring one of the most enduring puzzles in mathematical history.

Play the interactive version right now at our free board, which supports sizes from 4×4 to 15×15 with hints, undo, and an auto-solve feature.

Types of Queen Puzzles

The queen puzzle family is more varied than most people realize. Here are the major variants:

Classic N-Queens

The original formulation: place N queens on an N×N board so no two attack each other. Constraints are rows, columns, and both diagonals. This is what our interactive board implements. Studied since 1848, it has exact solution counts for all boards up to N=27 (computed in 2021). The most famous instance is the 8 Queens Puzzle with 92 solutions.

Colored-Region Queens (LinkedIn Style)

The board is divided into colored regions. Each row, column, and color region must contain exactly one queen. This variant typically has a unique solution and is designed to be solvable through pure logical deduction without guessing. It was popularized by LinkedIn's daily puzzle game in 2024 and introduced millions of players to queen placement logic for the first time.

Toroidal Queens

The board wraps around at the edges: the rightmost column connects to the leftmost, and the top row connects to the bottom. This changes the diagonal structure fundamentally. A queen on the right edge also attacks the left edge diagonally. Toroidal queens have a different and smaller set of solutions than classic queens. Boards where no toroidal solution exists include N=2, 3, 4, 6.

SuperQueens

A queen that also attacks in the patterns of a chess knight — adding eight more attack directions to the existing eight. This dramatically tightens the constraints. The smallest board with a SuperQueens solution is 10×10.

Modular Diagonal Queens

A variant where only one type of diagonal is constrained (not both). This creates an asymmetric puzzle with different solution counts. Studied primarily in number theory and combinatorics as a way to construct special combinatorial designs.

The Classic Eight Queens

The Eight Queens Puzzle is the most famous member of the queen puzzle family. Played on a standard 8×8 chessboard with 8 queens, it has exactly 92 distinct valid arrangements. These reduce to 12 "fundamental" solutions when symmetry is accounted for — the other 80 are rotations and reflections.

Key facts about the Eight Queens:

  • 92 total solutions on the 8×8 board
  • 12 fundamental (essentially different) solutions
  • First published by Max Bezzel in 1848
  • First complete enumeration by Franz Nauck in 1850
  • Studied by Gauss, who found 72 of the 92 solutions manually
  • Used in every introductory CS algorithms course as the backtracking example
  • Can be solved in under 30 seconds by an experienced solver

The Eight Queens serves as the benchmark for queen puzzle solving. If you can reliably solve the 8×8 board in under 3 minutes without hints, you have mastered the fundamental techniques. Beyond that, you are ready for the N-Queens variations and larger board challenges.

Play the Eight Queens now at /play?size=8 — no setup required.

Other Board Sizes

The queen puzzle scales beautifully across board sizes. Here is a guide to the other major variants available on our platform:

4 Queens Puzzle

2 solutions on a 4×4 board. The ideal starting point for beginners. Learn the rules in one sitting.

5 Queens Puzzle

10 solutions on a 5×5 board. Great for practicing backtracking before tackling the classic 8×8.

6 Queens Puzzle

4 solutions on a 6×6 board. Intermediate difficulty. Good for systematic elimination practice.

9 Queens Puzzle

352 solutions on a 9×9 board. A significant step up from 8×8 in constraint complexity.

10 Queens Puzzle

724 solutions on a 10×10 board. Advanced difficulty requiring efficient constraint tracking.

12 Queens Puzzle

14,200 solutions on a 12×12 board. Expert-level challenge for serious puzzle enthusiasts.

Educational Benefits of Queen Puzzles

Queen puzzles offer genuine cognitive and educational benefits that extend well beyond entertainment:

Logical Reasoning and Constraint Satisfaction

Every queen placement is a logical deduction: given the queens already placed, which cells are available for the next queen? Working through this systematically builds the capacity for multi-constraint reasoning — the ability to hold multiple rules in mind simultaneously and apply them consistently. This skill transfers directly to mathematics, programming, law, and any domain requiring structured analysis.

Introduction to Algorithm Design

The queen puzzle is the canonical introductory example for backtracking algorithms in computer science education. Learning to solve the puzzle by hand provides the intuitive foundation that makes the code immediately comprehensible. Many students who struggled with backtracking theory found that solving the puzzle manually first made the algorithm click. See the learn algorithms section for the full technical explanation.

Spatial Intelligence

The queen puzzle requires visualizing attack diagonals — a fundamentally spatial cognitive operation. Research on chess and spatial puzzles suggests that regular practice improves mental rotation ability and spatial working memory. These skills are associated with stronger performance in mathematics, engineering, and visual design.

Patience and Systematic Thinking

Larger queen puzzles cannot be solved by inspiration or luck. They require systematic, methodical work: generate candidates, test constraints, backtrack on failure, try the next option. This is the same work process used in scientific investigation, software debugging, and complex problem-solving in any field. The puzzle trains the habit of systematic effort rather than hoping for a flash of insight.

Start with the Queens Game Online and progress through the board sizes as your skills develop. The strategy guide will accelerate your improvement significantly.

Frequently Asked Questions

What is the queen puzzle?

The queen puzzle is a family of logic puzzles based on placing chess queens on a grid so no two attack each other. The queen attacks along rows, columns, and diagonals, so each queen must be placed in a unique row, column, and diagonal. The most famous version is the 8 Queens Puzzle, which uses an 8×8 chessboard and has 92 valid solutions.

How many types of queen puzzles are there?

The main types are: (1) Classic N-Queens — place N queens on an NxN board with row/column/diagonal constraints; (2) Colored-Region Queens — the LinkedIn-style variant where colored areas must each contain exactly one queen; (3) Toroidal Queens — the board wraps around at the edges; and (4) SuperQueens — queens that also attack like chess knights. The classic N-Queens variant is the most studied and is what our interactive board implements.

Is the queen puzzle hard?

Difficulty depends heavily on board size. The 4×4 version is solvable in minutes by first-time players. The 8×8 classic takes most beginners 10–30 minutes to solve for the first time, then 2–5 minutes after some practice. Boards larger than 10×10 are genuinely difficult to solve by hand without efficient strategy. Start with the 4×4 board and work your way up.

Where can I play the queen puzzle?

You can play free online right here. The interactive board at /play supports sizes from 4×4 to 15×15 with hints, undo, auto-solve, and a timer. No download or account required. Works on desktop and mobile browsers.