Question
Need help with this java assignment. I just need to create a program that makes the following output: here is the .jar file: https://www.dropbox.com/shydzrlocsxp4jg/WordBoard%20%281%29%20%281%29.jar?dl=0 what
Need help with this java assignment. I just need to create a program that makes the following output:
here is the .jar file: https://www.dropbox.com/shydzrlocsxp4jg/WordBoard%20%281%29%20%281%29.jar?dl=0
what I have so far is:
import java.util.Scanner;
public class WordSearch {
public static void main(String[] args) {
WordBoard board = new WordBoard(10, 10);
Scanner input = new Scanner(System.in);
promptUserForSeed(input);
System.out.println(board);
}
public static long promptUserForSeed(Scanner input) {
long seed;
System.out.println("Enter the seed for a 10x10 board");
seed = input.nextLong();
return seed;
}
public WordBoard(char[][] board)
{
}
public static WordBoard findWords(int rows, int cols, long seed) {
WordBoard board = new WordBoard();
public WordBoard(char[][] board)
for(int i = 0; i
{
}
}
here are some of the methods to use from the jar file:
Enter the seed for a 10x10 board -7292109907378909713 seed promptUserForInput (scanner); 0 1 2 3 4 5 6 7 8 9 System.out.println(board); Word 'bug' from (1, 5) to (3, 5) Word false' from (4, 4) to (8, 0) Word int' from (5, 4) to (3,6) Word object' from (8, 5) to (3,0) Word "ram' from (3, 9) to (1, 9) Word true from (0, 5) to (3, 8) for (String word: board.getDiscoveredWords ())
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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