On Jan 8, 2008 2:02 AM, SJS <[EMAIL PROTECTED]> wrote:
> I as at a friend's place over the holidays, and I picked up a little
> sliding-tile puzzle of a lizard. There were 8 pieces on a little 3x3
> grid, and I futzed with it a bit and decided that I didn't even like
> those sorts of puzzles when they were that small.
...
> The next day I looked at the code and cringed. There's lots of things
> about this code that, frankly, suck.  So I'll append it here for all
> to pick at, criticize, and so forth.  I'll also follow up this post
> with _my_ initial reaction.
>
> (The approach is simple -- a brute-force breadth-first search of all
> the possible moves.)

How about a Cobra version?   :-)

-Chuck

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to