Question: JAVA NETBEANS HELP! I need to make a word search generator for a homework assignment. I need it to either store words or pull words

JAVA NETBEANS HELP!

I need to make a word search generator for a homework assignment. I need it to either store words or pull words from a file.

The stored words or words in a file will then be added into the word search at random. It MUST be random!

I do not know if it is possible, but I would prefer the word list be able to be stored by catagory, and then have the random selection pull random words from a specific catagory.

The idea is to generate multiple puzzles based off the same groups of words.

For Example: Stored words:

Months of Year

January, February, Marc,h April, May, June, July, August, September, October, Novemeber, December

Seasons

Spring, Summer, Winter, Fall

Ocean Animals

Whale, Dolphin, Octopus, Shrimp, Barracuda, Lobste,r Clam, Coral, Crab, seal, sea turtle, Squid, Orca, Manatee, Stingray, Seahorse, Tuna, Starfish, Walrus, Jellyfish, Otter, Oyster, Shark, Salman

Now I need the random selection to pull only a FEW words from maybe all catagories or maybe only 2 catagories.

How would I do this???

Please Help!

output would be:

wordsearch (Matrix would be fine)

Find length of longest word randomly selected.

All puzzles should be 10 characters across...

Length (down) would be 14 or longest word randomly pulled.

Then display the words that were randomly pulled. so from the example words above it would be:

Y Z W N C A L K R S U Z E O J B P R X W C A P H P N E R J G M A R C H T E W I V Q B I Y S M I H C L N G A B R C Q A D S I M O R J A N L I Q H L I U C M U E K V P T N Y L U J N G D L E S G U V E M A H O U B Q S G O Q K J D J Z C V P V F Z G Z T M H H W M N F N K T C M A N C R A W 
APRIL CRAB DOLPHIN JANUARY JULY JUNE LOBSTER MARCH WHALE 

In this example it pulled words from only 2 of the 3 catagories and produced a 10 x 14 puzzle

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!