Bigger puzzle can be a problem with some combinations. I limit the number of moves which are required to solve the puzzle. Anyway the algorithm to solve 15-puzzle is the same
If you want more puzzles - don’t worry, they will be there soon.
There are two main approaches to solve this programmatically, one systematic, and one using pathfinding algorithm. The current time limit will cause some initial formations to time out for the former.