The 8 Queens Puzzle was born from chess. In 1848, chess composer Max Bezzel published the original problem in a German chess magazine: place 8 queens on a standard 8×8 chessboard such that no queen threatens any other. The puzzle spread rapidly among mathematicians and chess enthusiasts, and within a few years the great mathematician Carl Friedrich Gauss was corresponding about it.
The puzzle uses the chessboard as its medium for a reason — the 8×8 grid and the queen's movement rules are already familiar to millions of chess players worldwide. The queen is the most powerful piece in chess precisely because she combines the movement of a rook (horizontal and vertical) with the movement of a bishop (diagonal). This power is what makes the puzzle so challenging: placing one queen blocks an enormous number of squares, and placing eight queens that do not interfere with each other requires genuine ingenuity.
Unlike most chess problems, the 8 Queens Puzzle has no opponent. There is no mate in N, no combination to find, no opponent's king to trap. It is a pure constraint-satisfaction puzzle — a solo meditation on spatial relationships. This makes it accessible to anyone who knows the rules of chess (and even to those who do not, since you only need to learn how one piece moves).
Today the puzzle exists as both a chess curiosity and a foundational problem in computer science. It appears in every introductory algorithms textbook as the canonical demonstration of backtracking search. Every programmer who has taken a data structures course has almost certainly implemented an 8 Queens solver. Try the puzzle yourself at the 8×8 interactive board.