Description: 8 Queens Game description:
Of the problem: the eight queens is an old and interesting game, is a Gaussian first proposed in 1850.
Asked to place chess board eight queen, it can not attack each other, that Queen can not be in any two
Board on the same line, same column and the same diagonal. How many kinds of recapture?
The basic idea is: first the Queen on the (0,0) position, then the 1st Queen s on (1, j) position
To meet the requirements. Then put 2 queens, and so on. Her experience as a queen on the line regardless of any
Location not meet the requirements, improperly placed before a queen, to be re-placed the former Queen, as Queen Junan to 8
Seeking to place well, this is a successful pendulum method.
To Search:
- [3d] - 3D Cube source code developed using VC++
- [Snake] - The classic Snake game, the speed of adj
File list (Check if you may need any files):
八皇后游戏\3_13.cpp
..........\3_13.dsp
..........\3_13.dsw
..........\3_13.ncb
..........\3_13.opt
..........\3_13.plg
..........\Debug\3_13.exe
..........\.....\3_13.ilk
..........\.....\3_13.obj
..........\.....\3_13.pch
..........\.....\3_13.pdb
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\八皇后游戏说明.txt
..........\Debug
八皇后游戏