Counting How Many Queens Are Placed Tentatively
While Seeking A First Solution To The N x N Queens Puzzle.

For this example we'll use a 5 x 5 board because this size requires the fewest number of
tentative Queen placements (only 15) to reach the first solution to the puzzle.
A Queen shown in RED is obviously clashing with at least one previously-placed Queen.
It will be lifted off the board and set down again (or be "placed") in the next unoccupied square.
When a Queen is placed with no clashes on any row, we immediately move up to the next row.

Click the  Step forward  button below to continue placing Queens on this board,
and to watch how the Queen-placements are counted ...
         
         
         
         
First Queen        
1 Number of times that any Queen was placed tentatively
on the board, prior to discovery of the first solution.
1 Number of times a Queen was placed on the board,
and was allowed to stay.
0 Number of times a Queen was placed on the board, but was
clearly challenged by at least one previously-placed Queen.
Re-start this Example Go back one step Move to the next queen placement Zoom to the end

Queen-placement example page  1  of   15


Click  Return to my Home page to return to this site's Home page.


Document made with KompoZer Content on this CSP Queens site by Colin S Pearson and Martin S Pearson is licensed under a
Creative Commons Attribution-Non-Commercial-Share Alike 2.0 UK: England & Wales License.
Permissions beyond the scope of this license may be available via the feedback page.
Creative Commons License