Question
Make a Word Search puzzle. Your program should contain the following features: 1. A matrix that stores the board. Each element of the matrix should
Make a Word Search puzzle. Your program should contain the following features:
1. A matrix that stores the board. Each element of the matrix should store a letter (either as a character or a string).
2. The words should be read from a file using Scanner, and the program should randomly set up the board based on the words read in. You should size the matrix based on the length of the longest word. The words should be both horizontal or vertical, and should be able to overlap on common letters (This may not happen every time, but it should be possible).
3. After all of the words have been entered into the matrix, the empty spaces should be filled with random letters (Capital 'A'= 65), or store the letters in an array or an ArrayList and randomly choose from there.
COMPLETE IN THE MOST SIMPLE WAY POSSIBLE
Step by Step Solution
There are 3 Steps involved in it
Step: 1
import javaioFile import javaioFileNotFoundException import javautilArrayList import javautilCollect...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started