Fifteen Puzzle: Implement the Fifteen puzzle game

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 167 All time: 304 This week: 6Up
Version License JavaScript version Categories
fifteen-puzzle 1.0GNU General Publi...1.0Games
Description Author

This object can implement the Fifteen puzzle game.

It can render a board of fifteen pieces initially in shuffled positions.

The class can process the click events on the pieces and move them to empty spaces until the user sorts the position of all pieces correctly.

Picture of Mark Rolich
  Performance   Level  
Name: Mark Rolich <contact>
Classes: 13 packages by
Country: Armenia Armenia
Age: 40
All time rank: 131 in Armenia Armenia
Week rank: 11 Up1 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 6x

Winner: 1x

Javascript implementation of "Fifteen puzzle" game


Tested in the following browsers: IE 6.0 - 8.0, FF 17, Chrome 22, Safari 5.1.1

FifteenPuzzle.js requires Event.js package, which can be acquired at the following links:
Github -
JS Classes -

Copyright (C) 2012  Mark Rolich
  Files folder image Files  
File Role Description
Accessible without login Plain text file fifteenpuzzle.css Data Demo styles
Accessible without login Plain text file fifteenpuzzle.html Example Demo without graphics
Plain text file FifteenPuzzle.js Class Main function
Accessible without login Plain text file license.txt Lic. LICENSE
Accessible without login Plain text file README Data README 4KB
Downloadfifteen-puzzle-2014-05-02.tar.gz 3KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Event Download .zip .tar.gz for cross-browser event handling Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:304
This week:6Up