2014-11-21 HW

posted Nov 21, 2014, 6:14 PM by Samuel Konstantinovich   [ updated Nov 21, 2014, 6:14 PM ]
Oops... nothing was posted because I didn't click "save"

Update to your word search:
1. Make a plain text file and fill it with whatever words you like. 
2. Open the file in java, and use a scanner on the file to be able to read in the words. 
3. Read all the words into an ArrayList<String>

Simple file example:

Now that you got the file input working:
4. Try to add all of those words as randomly as possible. Add as many as you can to the WordGrid but make sure it doesn't try too many times for each word, allow it to just skip to the next word.