in reply to Re: "Bookworm" solver project
in thread "Bookworm" solver project

I meant a graphing module that I would use to store the structure of the board, as opposed to writing a Graph and Node class myself.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re^3: "Bookworm" solver project
by tilly (Archbishop) on May 08, 2005 at 20:21 UTC
    Oh, that. You're overdesigning, IMO. Just use a 2-dimensional array for the characters, and have a corresponding 2-dimensional array of functions that know what the neighbours of any cell are. See Re (tilly) 1: 5x5 Puzzle for an example of the approach that I'm talking about.