File Exchange

image thumbnail


version (23.4 KB) by Mihir Shah
This is a Graphical User Interface for playing and solving the 15-Puzzle game.


Updated 16 Jul 2010

View License

It is a sliding puzzle that consists of a frame of numbered square tiles in random order with one tile missing.The object of the puzzle is to place the tiles in order by making sliding moves that use the empty space.
The code has been written using GUIDE

Any suggestions and bug - fixes are welcome.

I haven't tested this code on any other platform except R2009a (Matlab 7.8) so am not sure whether it will work for the previous versions of Matlab.

Cite As

Mihir Shah (2020). Fifteen (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

tudor dima

It doesn't work in R2010b. (v.7.11)

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux