Description: Eight Queens game description:
The problem: Eight Queens is an old and interesting game, is by Gauss in 1850 first proposed.
Requirements placed on the eight queen chess board, it can not attack each other, that can not be in any two Queens
The same row of the board, in the same column and the same diagonal. How many kinds put France?
The basic idea is: First the Queen on the (0,0) position, and then the 1st Queen on (1, j) position,
To meet the requirements. Then put the 2nd Queen s, and so on. Any encounter such a queen put her on the line regardless
Location not meet the requirements, the improper placement before a queen, to be re-placed before a queen, the queen as eight according to
Seeking placement is good, this is a successful pendulum method.
To Search:
File list (Check if you may need any files):
八皇后.cpp
八皇后游戏说明.txt