Place 8 queens onto the chess board, no queen can be attacking any other queen.
A queen attacks all cells on its vertical, horizontal or diagonal lines of sight.
The eight queens puzzle has 92 distinct solutions on a 8x8 grid.
The problem was originally proposed in 1848 by the chess player Max Bazzel.
Nick Kouvaris made this simple algorithm with actionscript that gives a solution.
Click here for more information about this classic problem.