Refactoring

Today, the word search code got a bit of a revamp by splitting the one (now enormous) file up into bite-sized other chunks.

In the process, I took the liberty of adding a few extra tests, and finally nailed down a tricky bit of processing that had been annoying me for a while.

Now, the plans are to keep adding a few more tests as I make the final steps to make the grid creation feature complete by adding a final 'fill' phase together with a really-final 'checking' phase. Oh, and build in a process to stop the generation taking too long!

I also treated myself to a couple of word search books from the magazine stand - in order to see if there's any aspect of word searches I am missing.

Every day, a step closer.

[Image credit: Dave DeSandro]