In my spare time I wrote a facebook app of the popular n-puzzle. I am hosting my app thanks to the amazing facebook developer program from Joyent. The app is written in php and JavaScript(jQuery). If you want the source, it is available here.

Update:This app no longer works on facebook, looks like joyent pulled the plug on this one.