Carl Lowenstein wrote: > On Jan 8, 2008 2:08 AM, SJS <[EMAIL PROTECTED]> wrote: > >> I skimmed thru the code and wrote down my initial reactions, and >> then followed 'em up with the mitigation or rebuttal of the criticism. >> Not much rebutting, and darn little mitigation going on here. >> >> Most of it's pretty general, as I didn't have the patience to do a >> line-referencing full on code review. I'd've ended up rewriting it. >> >> > > Looking at it from the puzzle point of view rather than programming, > there is one fatal flaw. A simple parity argument shows that 1/2 of > the plausible solutions can never be reached. Just swap two tiles in > the target and you can't get there from here. > Actually, IIRC, this is a property of this puzzle: depending on the number of tiles, either all are reachable or only half are reachable.
--Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
