[4 / 2 / 2]
Quoted By: >>1289406
Hey guys i've been working on this java project for school and it is due tomorrow but I'm still pretty lost on what I should do.
>Implement the 9-puzzle in Java that displays the grid and responds to the user’s moves.
Use a 2D array to represent the grid. Repeatedly print the current grid configuration on
the console and prompt the user to enter a move (a number 1 – 8 indicating the
neighboring square to slide into the empty space). Any invalid user input should be
ignored. The program terminates when the user enters the number 0.
If you have any tips it would really help.
>Implement the 9-puzzle in Java that displays the grid and responds to the user’s moves.
Use a 2D array to represent the grid. Repeatedly print the current grid configuration on
the console and prompt the user to enter a move (a number 1 – 8 indicating the
neighboring square to slide into the empty space). Any invalid user input should be
ignored. The program terminates when the user enters the number 0.
If you have any tips it would really help.