You didn't check for impossible positions.
############
Fifteen number sliding puzzle
Heyy guys this is a fifteen number sliding puzzle
Click on numbers next to the empty space to move
This game is working, Please help me find bugs if you come across any, thanks
You didn't check for impossible positions.