You must create a program that produces a word search puzzle.
A class (name it Search) must be used for the assignment. You are to ask the user for a list of words and desired skill level (1-3 most difficult). The user will specify the number of words to be used. Based on the skill level, your program will output a word search puzzle to a .dat file so it can be printed and completed. The output file must also output the list of words to be found in the puzzle. Suggested skill levels are:
1 - all words can be vertical or horizontal.
2 - all words can be vertical, horizontal, or diagonal.
3 - all words can be vertical, horizontal, diagonal and/or intersect other words.
create your class Search :
We want to use print statements to prompt the user and read them (cin/cout):
1) list of words ? (use arraylist)
2) desired level (1-3) ? (store in int level)
3) number of words used? (store in int level)
do some googling on the .dat file to get a hang of how I/O works to create the file and enter the data
There's nothing about forcing words to intersect, so just generate the thing as big as you have to. Hard-code words, print results to the screen with cout (use something simple like spaces for filler). Once that part looks right, only then look into user input and file output.