File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Matrix WordSearch solution?

 
Ollie Dee
Greenhorn
Posts: 10
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Michael...I found it there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic