raulgonzalez
05-21-2007, 12:25 PM
hello,
I was looking for a code that could generate a word serach puzzle. like this one: http://www.edhelperclipart.com/clipart/wsearchlisten2.gif
Basically I wanted to be able to put some words in, lets say, an array and have the code generate it for me. I thought it would be difficult so I stopped here first just to see if someone has something similar.
I found a site that does something like that:
http://www.word-search-maker.webonizer.com/
Basically, they interact with the user, where the user chooses the number of rows and columns, then the user places the word, one by one in little combo boxes, then presses a button and the word puzzle gets generated.
1. The site is very very nice except that they don't distribute the php code, only the HTML code
2. I wanted to have the rows and columns fixed,
3. I wanted to generate the words randomly from an array or something unlike the site which has the user put the words physically one by one.
Basically I would have a file with like lets say 100 words and out of those words only like 12 or so would get picked randomly and placed in the Word Search Puzzle. At the end, all the player would see is something like:
THE PUZZLE FOR THE DAY IS: (and then the puzzle along with the words to be searched)
So that they could print it and play it. It is just a project for 5 year olds that I wanted to know if it was possible to make. I will keep on searching before starting to break my head :)
Thank you
I was looking for a code that could generate a word serach puzzle. like this one: http://www.edhelperclipart.com/clipart/wsearchlisten2.gif
Basically I wanted to be able to put some words in, lets say, an array and have the code generate it for me. I thought it would be difficult so I stopped here first just to see if someone has something similar.
I found a site that does something like that:
http://www.word-search-maker.webonizer.com/
Basically, they interact with the user, where the user chooses the number of rows and columns, then the user places the word, one by one in little combo boxes, then presses a button and the word puzzle gets generated.
1. The site is very very nice except that they don't distribute the php code, only the HTML code
2. I wanted to have the rows and columns fixed,
3. I wanted to generate the words randomly from an array or something unlike the site which has the user put the words physically one by one.
Basically I would have a file with like lets say 100 words and out of those words only like 12 or so would get picked randomly and placed in the Word Search Puzzle. At the end, all the player would see is something like:
THE PUZZLE FOR THE DAY IS: (and then the puzzle along with the words to be searched)
So that they could print it and play it. It is just a project for 5 year olds that I wanted to know if it was possible to make. I will keep on searching before starting to break my head :)
Thank you
