The Queen's Gambit is a chessboard placement problem: place n queens on an n-by-n board so that no queen can capture another. Its unrestricted search space makes it a practical demonstration of genetic algorithms and their controlled randomness. section 3.2
A DEAP implementation represents candidates as permutations, evaluates diagonal conflicts as fitness, and evolves a population through partially matched crossover, shuffled-index mutation, and tournament selection. A zero-conflict or target fitness ends the search.
