Question: In Java create a word search game. Read in a file that is in this format: 6 6 y c o d e j h

In Java create a word search game. Read in a file that is in this format:

6 6 y c o d e j h s e y p k l p h b w a l o b w x z w o b a a i p l y y c g

You know that you have 6 rows from the first letter and 6 columns from the second letter. I want to store this data, and then search left to right throughout the data if it spells a word. A word must be 3 or more characters long and included in a given list. Then I want to search right to left for words. Then I want to search top to bottom. Then I want to search bottom to top. I want to return all of the words in the order they were found. For example the above should return:

cod code ode ply jed doc yes abo bow spool pool way loop loops

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!