Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need to create a word search puzzle program in java for school project but I c

ID: 3823707 • Letter: I

Question

I need to create a word search puzzle program in java for school project but I can't seem to understand some of the instruction provided...

Part of instruction:

"When the user decides to generate a new word search, the program should prompt them for how many words they would like to enter and proceed to ask the user for each of these words. The program would then use these words to generate the word search. Note that you many need to adjust the size of your word search to accommodate more words or larger words. It is ok to limit the number of tries placing a word to 100. If you try to place a word within the word search more than 100 times, you may omit that word from the word search."

for this instruction: "It is ok to limit the number of tries placing a word to 100. If you try to place a word within the word search more than 100 times, you may omit that word from the word search."

I just need someone to explain this clearly to me since the teacher won't answer any questions during the weekends.

thanks

Explanation / Answer

The rule says that it is okay to restrict the number of times a word is repeated in the given input list of words.

Suppose, in given input list of words, if there exists a word that is repeating more than 100 times, then just ignore that word. Don't use it in creating the word search. This is because, if the word is repeating so many time would just ruin the game and even makes it easy to spot it.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote