java.lang.ObjectPuzzleUI
public class PuzzleUI
PuzzleUI reads a wordsearch data file and stores the data into two different structures; a puzzle board and a word list. The WordSearchSolver is called to find the words. The found word results are displayed.
| Constructor Summary | |
|---|---|
PuzzleUI(java.lang.String infile)
Constructor Reads the file |
|
| Method Summary | |
|---|---|
int |
getSize()
Accessor to get how many lines are in the file |
static void |
main(java.lang.String[] args)
Read and solve a word search puzzle, then display the results. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PuzzleUI(java.lang.String infile)
infile - the name of the file (w/o path)| Method Detail |
|---|
public int getSize()
public static void main(java.lang.String[] args)
args - An array of command line parameters.
Usage: PuzzleUI [-timing] filename