I am building a sliding puzzle game like this one: http://www.puzzlegame.org/15-pack/ but the only problem i have now is when I shuffle the pieces, but sometime it create an error that player would never be able to complete the puzzle. Look at my attached image, if the last two pieces happen to be like that, the puzzle will never be solved.
Please give me some suggestion to fix this problem. Thanks in advance
Still looking for a freelancer to work on my footer!
How do you shuffle the puzzle? Are you simply placing all the pieces in random positions? Perhaps better way to shuffle is to start with completed puzzle, then move pieces randomly around into free spot. This way you can be very sure its always possible to finish the puzzle.