Question: Please write all steps as a comment and use java. In Class Exercise 7 Demonstration of 2D Arrays with Objects Design a java class for
Please write all steps as a comment and use java.




In Class Exercise 7 Demonstration of 2D Arrays with Objects Design a java class for the eight puzzle game 3 8 1 1 2 3 5 6 4 5 6 2 4 7 7 8 Initial State Goal State The Eight Puzzle Game: the moves 8 2 1 8 2 1 8 2 1 8 2 1 Before Move 4 -3 4. 3 4 3 4 3 7 6 5 7 6 5 7 5 7 6 5 Move left Move right Move up Move down 8 2 1 8 2 1 8 2 1 8 1 4 After Move 3 4 3 4 6 3 4 2 3 7 6 5 7 6 5 7 5 7 6 5 The Eight Puzzle The Eight Puzzle Draw the UML Diagram for the class List the member variables List the member methods Implement the class Initialize the board Implement a method to display the board Implement a method to find and display the row and col of the empty cell Take home exercise Implement the move methods Design and implement the GUI for the game (see next slide) . The Eight Puzzle GUI 5 1 6 8 7 2 3 4 v
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
