Live-coding demo of creating "15 puzzle" game in web-page using JavaScript (introducing jQuery) Video by CodeAbbey
View solutions of several random people
Notes on the problem
parameters 'withblanks' and 'limit' may be useful