aspose file tools*
The moose likes Java in General and the fly likes Matrix WordSearch solution? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Matrix WordSearch solution?" Watch "Matrix WordSearch solution?" New topic
Author

Matrix WordSearch solution?

Ollie Dee
Greenhorn

Joined: Jan 06, 2013
Posts: 10

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

Thanks a lot Michael...I found it there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Matrix WordSearch solution?