5
« on: June 28, 2006, 04:11 PM »
Got a good one for everyone - And I know most will ask 'why?' In this case, it was just a logic problem for me to figure out.
Back in High School (in the 80's) I learned ApplesoftBASIC on my trusty Apple //c.
I made a BASIC program to solve Word Search puzzles. It would read in a text file of the grid of letters and then read in another file of the words to find.
The logic used was to find the first letter of the word. Once found, it would compare 360 degrees around it to find the second. If the second was found, then proceed in that direction until end of the word.
The results were printed as beginning and ending coordinates (I didn't attempt to do anything graphically.)
So, I would like to attempt to convert my BASIC program (of which I still have the code) to something else so that I can use this app in Windows (or Linux, Mac, etc)...
Any ideas?
Rich