Eight Queens Puzzle

The eight queens puzzle is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens attack each other. Thus, a solution requires that no two queens share the same row, column, or diagonal. The eight queens puzzle is an example of the more general n-queens problem of placing n queens on an n×n chessboard, where solutions exist for all natural numbers n with the exception of 2 and 3.

Read more about Eight Queens Puzzle:  History, Solution Construction, Explicit Solutions, Counting Solutions, Related Problems, Exercise in Algorithm Design, Animation of The Recursive Solution, Sample Program

Famous quotes containing the words queens and/or puzzle:

    “Your strength, that is so lofty and fierce and kind,
    It might call up a new age, calling to mind
    The queens that were imagined long ago,
    Is but half yours....”
    William Butler Yeats (1865–1939)

    Scholars and artists thrown together are often annoyed at the puzzle of where they differ. Both work from knowledge; but I suspect they differ most importantly in the way their knowledge is come by. Scholars get theirs with conscientious thoroughness along projected lines of logic; poets theirs cavalierly and as it happens in and out of books. They stick to nothing deliberately, but let what will stick to them like burrs where they walk in the fields.
    Robert Frost (1874–1963)