8 Queens Problem

Grant Edwards grante at visi.com
Mon Jul 15 15:55:21 EDT 2002


In article <pCEY8.19035$eH2.7395705 at ruti.visi.com>, Grant Edwards wrote:

> Or, if you like obvious silliness, here's one with a Tkinter
> user-interface that shows the chess-board as it solves the
> problem...
> 
> ftp://ftp.visi.com/users/grante/python/queens.py

It also allows you to start with a partial solution if you
want.  One thing it doesn't do is discard solutions that are
rotations and/or mirror-images of each other -- that's been on
my list of things to do for years.

-- 
Grant Edwards                   grante             Yow!  HELLO, everybody,
                                  at               I'm a HUMAN!!
                               visi.com            



More information about the Python-list mailing list