Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Word Search Builderby Fendaria (Beadle) |
on Feb 21, 2005 at 23:11 UTC ( [id://433187]=note: print w/replies, xml ) | Need Help?? |
Wonderful little program. I couldn't help myself from noticing though you can combine your two loops in addWord if you randomize the order you brute force search. As long as your brute force search hits all possibilities, you can search in whatever order you want.
It would also be neat if you allowed for 'turns' when adding a word. ex. in a 2,2 grid allow the word 'perl' as pe rl I think the game 'boggle' allows for word grids in this style.
Fendaria
In Section
Cool Uses for Perl
|
|