diff --git a/README.md b/README.md index db76d9c..9439e62 100755 --- a/README.md +++ b/README.md @@ -17,5 +17,10 @@ Once built, you need to make a "war" file to deploy to your J2EE container (test ``` $ cd war && jar cfv ../wordsearch.war . ``` - Then deploy your war file :-) + +Alternatively you can test-run the engine... +``` +$ make run words, int height, int width) { - return makeGrid(words, height, width, Modes.CROSSWORD); + return makeGrid(words, height, width, false, true); } - public static char[][] makeGrid(List words, int height, int width, Modes mode) { + public static char[][] makeGrid(List words, int height, int width, boolean simple, boolean fill) { char[][] grid = new char[height][width]; // Place words at random? @@ -243,4 +243,4 @@ public class GridFactory { System.out.println(""); } } -} \ No newline at end of file +}