Fifteen

This is a Graphical User Interface for playing and solving the 15-Puzzle game.

You are now following this Submission

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 (2026). Fifteen (https://www.mathworks.com/matlabcentral/fileexchange/28222-fifteen), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Strategy & Logic in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0