|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
http://www.magikwebs.co.uk/wordsearch/
hiya,
made this for a bit of fun but thought it might be cool to put up and if I made a mega list of word groups it might even get some hits (and repeat hits). What do u think? http://www.magikwebs.co.uk/wordsearch/ How could I, how would you develop this? Cheers, John. |
|
#2
|
||||
|
||||
|
Hi,
1st thing: I've changed the topic title so it complies with the forum rules. 2nd thing: It'd be cool to have rude words/duplicate checker. If I enter the word "to" as a word, its possible that it might appear somewhere else if random letters are used to fill the spaces - this means checking results to something like this would be tricky. Also, it'd be nice to have a swear filter somewhere so that it won't accidentally fill up spaces with a swear word. I think this'd be easily achievable in PHP, just read each column and row into two arrays and check vertically and horizontally for any words that appear in a 3rd 'check against' array which includes the original words and the sweards. Then if it finds one of the words again it'll check to see if its a random character or one of the placed words and if its a random one change it - if not ignore it, then run the test again. Understand? Diagonal checks are harder but still done, by doing $vertarray[$i] and $horzarray[$i+1] or $i-1 for the two directions (checks need to be made to see if its the top or bottom of the wordsearch. I hope that wasn't too complex ![]() computer |
|
#3
|
|||
|
|||
|
Thanks,
I hadn't even crossed my mind that it might fill in the blank with a swear word. I guess the odds are pretty remote but checking is easy enough I suppose. Trouble is one mans swear word is anothers regular vocabulary. Anyhow, thanks again for replying, I thought my post had been lost in the depths of the forum. John. |
|
#4
|
||||
|
||||
|
heh
its a nice script and I wouldn't mind seeing the source personally, I could probably learn from it and help make it better but anyway ![]() A swear vocab would probably just contain the main 3 or 4 swears - if you want to compete with people like Puzzle Maker you'll have to aim it towards the educational market I should think as they use a lot of puzzle making programs - so it needs to be clean... HTH, computer |
![]() |
| Viewing: Dev Shed Forums > Web Design > Website Critiques > http://www.magikwebs.co.uk/wordsearch/ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|