Question: JAVA PROGRAMMING Write a class to make crossword puzzles. It should be in Class Crossword If its easier and less time consuming, its okay if
JAVA PROGRAMMING
Write a class to make crossword puzzles.
It should be in Class Crossword
If its easier and less time consuming, its okay if onlywords going across make sense and words going down can just begibberish.
1. For the clues section of the puzzle. They can just bethe same as the actual words in the boxes as shownbelow.
2. There should be a method to display the puzzle in aneat way. There is a example below.
3. There should be a driver method that lets the userinteract with the puzzle. I provided some code for that aswell.
Example for how to display the puzzle. Something simple and neatwould be good
+------+------+------+| 1 | 2 | || K | I | D |+------+------+------+| #### | | #### || #### | S | #### |+------+------+------+| ... | ### | ... | ###Across: 1. Kid ...Down: 2. Is
A driver method
In addition to the methods importWords, buildCrossword, andshowCrossword, write a driver method to demonstrate your system.The driver method should be named driver, bevoid, and return no values. It should provide interactivity withthe user, as follows:
public void driver() { boolean keepRunning = true; while (keepRunning) { /* Show user a menu of options, e.g., enter two numbers greater than zero to create a puzzle with as many rows and columns, or enter zero to exit the program. If N==0 and M==0: keepRunning <-- false else: If user enters N>0 and M>0, build a NxM puzzle as specified in the project. Show the puzzle. }}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
