Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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:

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

2. How much time should be allocated to the focus group?

Answered: 1 week ago

Question

1. Where will you recommend that she hold the focus group?

Answered: 1 week ago