Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Matrix WordSearch solution? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Matrix WordSearch solution?" Watch "Matrix WordSearch solution?" New topic
Author

Matrix WordSearch solution?

Ollie Dee
Greenhorn

Joined: Jan 06, 2013
Posts: 6

I am trying to write a java program to solve a word search puzzle inside a 12 by 12 dimentional matrix searching in all directions. Horizontal, Vertical and so on, and after many attempts I can not seem to write a solution, could anyone help me with this please. I will attach my code with link if anyone wants to have a look. Thanks. Currently using eclipse..Dropbox public

I am trying to read these words in from a text file which also contains the matrix.

GHOST
SPIDER
CANDY
CROW
BLOOD
BROOM
PATCH
HOUSE
ORANGE
BATS
MASK
FANGS
APPLE
TRICK
PUMPKIN
NECK
PARTY
MUMMY
BOO
CAT

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
some years back there was a word search puzzle in the JavaRanch newsletter.

if you search the 'Programming Diversions' forum, you might get a nice surprise.
Ollie Dee
Greenhorn

Joined: Jan 06, 2013
Posts: 6

Thanks a lot Michael...I found it there.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Matrix WordSearch solution?
 
Similar Threads
Regarding ternary operator
Anyone with experience with dot matrix printing?
How do I print a raw text file to any given printer port
Assign an Array to an Array Element
e-Matrix platform why use