in reply to Re^3: "Attack" -- Find Solutions for N Non-Attacking Chess Pieces
in thread "Attack" -- Find Solutions for N Non-Attacking Chess Pieces

Hi Tchai,

Thanks for your interest.  It's been a long time since I looked at that code, but I've put a link to the files here.  When you run makelegal.pl, it creates a file legal.txt, which can then be used to update Legal.pm by hand.  Once Legal.pm was complete, there was no longer any need for makelegal.pl, of course.

Let me know if you have other questions and I'll do my best to answer them.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/