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: 168 All time: 307 This week: 14Up
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: 42
All time rank: 111 in Armenia Armenia
Week rank: 6 Up1 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 6x

Winner: 1x

Details
Javascript implementation of "Fifteen puzzle" game (http://en.wikipedia.org/wiki/15_puzzle) Demo: http://mark-rolich.github.io/FifteenPuzzle.js/demo/index.html 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 - https://github.com/mark-rolich/Event.js JS Classes - http://www.jsclasses.org/package/212-JavaScript-Handle-events-in-a-browser-independent-manner.html 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

Downloadfifteen-puzzle-2021-11-28.zip 4KB
Downloadfifteen-puzzle-2021-11-28.tar.gz
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  
 100%
Total:168
This week:0
All time:307
This week:14Up