Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Word Search Builderby pbeckingham (Parson) |
on Mar 08, 2005 at 16:08 UTC ( [id://437619]=note: print w/replies, xml ) | Need Help?? |
It all seems to hinge on the random placement of the first few words. After that, it jams them in wherever it can. But those first few make all the difference. A challenging crossword algorithm would be one that randomly places a word, then the necessary dead spaces, then replicates the dead space according to some rule of symmetry, ultimately resulting in an "attractive" layout. pbeckingham - typist, perishable vertebrate.
In Section
Cool Uses for Perl
|
|