+ 1

How can create a 9 tile puzzle that has an initial state and give me a solved state

Java program

5th May 2020, 9:39 PM
Pfano
Pfano - avatar
9 Answers
+ 4
https://code.sololearn.com/WCBcC89Bd0NJ/?ref=app u mean a kind of that?
6th May 2020, 8:07 PM
Oma Falk
Oma Falk - avatar
+ 2
David Dolejší you have to check before if the random task is solvable.
7th May 2020, 10:47 AM
Oma Falk
Oma Falk - avatar
+ 1
9 tiles
5th May 2020, 9:49 PM
Pfano
Pfano - avatar
0
Any. The puzzle has to have a blank tile n the other tiles have from from 1 to 8
5th May 2020, 9:55 PM
Pfano
Pfano - avatar
0
In the 8-puzzle , differently numbered tiles are fitted into 9 spaces on a grid. One space is left blank so that the tiles can be moved around to form different patterns. The goal is to find a series of moves of the tiles into the blank space that places the board in a goal configuration. The following are legal moves, (please note that if the blank is at a corner only two moves are possible, if it is at the centre all the four moves are possible, if on the remaining spaces three moves are possible): Move the blank up Move the blank right Move the blank down Move the blank left
5th May 2020, 10:12 PM
Pfano
Pfano - avatar
0
Yes to solve it
5th May 2020, 10:18 PM
Pfano
Pfano - avatar
0
Okay thanks
5th May 2020, 10:25 PM
Pfano
Pfano - avatar