Check for winner in puzzle game
<p>I made a sliding images game of 15 and so far everything works.  However I can't figure out how to determine when the user wins the game by arranging all the images (number 1 through 15) in order.  Right now I'm just trying to figure out how to determine if the user arranged the first 4 numbers in order because if I can get that done rest should be easy.  I will post my code bellow and if anyone has any ideas or suggestions on how to do this that would be great.</p>
