On 2007-12-23, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2007-12-22, cf29 <[EMAIL PROTECTED]> wrote: > >> The goal is to control all the chess board with five queens that do >> not attack each other. > [...] >> My problem starts now. How can I find the next solution and >> append it to the list? Has anyone tried to do a such script? > > ftp://ftp.visi.com/users/grante/python/queens.py > > It's a pretty standard depth-first search of the solution space.
Never mind. I just realized that you said 5-queens, not 8-queens. -- -- http://mail.python.org/mailman/listinfo/python-list