Fifteen

This is a Graphical User Interface for playing and solving the 15-Puzzle game.
1.5K Downloads
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 (2024). Fifteen (https://www.mathworks.com/matlabcentral/fileexchange/28222-fifteen), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Strategy & Logic in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0