| |
SRC_JS:Sliding N-Puzzle in JavaScriptToday I get a little bored and to amuse myself decided to try to create a sliding puzzle. I chose to use JavaScript, mostly because it can be used together with HTML, thus the creation of the UI is really easy. The second reason is that it runs inside your browsers ( you know security, blah, blah, I myself would not download executable just to try some sliding puzzle implementation) This is a 8-puzzle version, the puzzle is really simple but if you want you can still check the puzzle history here If you are interested, you can get the "source" from here, feel free to use t for whatever you want. Final note, the puzzle is tested to work in IE 6 only, I do not guarantee that it will work with other browsers, and frankly I doubt it will. Due to some weird restriction, I cannot incorporate it directly in the blog. Click on the image to play with it in a new browser window. Tuesday, March 21, 2006
© 2002 - 2008 Kroum Grigorov
|