Among other methods, there are pattern databases which need to be precomputed beforehand. In this case, I'm solving the puzzle in a partial order. Although its relatively straightforward to code the ...
Solve sliding puzzles from sizes 2x2 to 5x5. Enter your own gameboard to be solved or watch the computer solve a randomly generated gameboard.