ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Word Search Solver

(1/3) > >>

glonch:
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

mouser:
hi glonch, welcome to the site.
i think given the nature of this site, there is almost no idea for a program that won't be interesting to at least some people. :) and there's nothing wrong with working on programs just for the fun of it.

keep in mind there are some powerful programs to do this already (and some papers on good algorithms for it), though i don't know any off hand.  maybe others can post some links.

so is your question about cross-platform programming tools? (you mentioned you wanted it to run on windows/linux/mac.

there are cross platform Basic interepreters (Mark0 might have some hints there).  Then there are all the scripting languages which might be a good match for this.  depends if you want graphics or not.

glonch:
Mouser,

Thanks - as for cross platform - I'd just like to convert the BASIC program (or the logic behind it) so that I can run it on any system that I might be using (java?).

If that makes it more difficult, then I'd default to WinXP for now.

I figured that there were apps out there that make Word Searches, but I didn't realize that they would also have solvers too.

I have very little time to devote to learning programming again (it's been awhile) and I figure that someone would probably be able to 'whip' this out without breaking a sweat.

Thanks again

Rich

Rover:
What type of app is it?  That might help determine the best language/approach...

glonch:
It's written in ApplesoftBASIC (Apple II)

I doubt that there is a direct converter from this to say, VB, Java, etc...

Navigation

[0] Message Index

[#] Next page

Go to full version