n-puzzle image

10 views (last 30 days)
Muckos
Muckos on 30 Aug 2016
Answered: Steven Lord on 30 Aug 2016
Hi, I want to put an image on n-puzzle game. I want this puzzle to be an image puzzle, not a number puzzle. Any help? The code is here below

Answers (1)

Steven Lord
Steven Lord on 30 Aug 2016
Take a look at this answer for instructions on how to put an image on a pushbutton. Adapt those instructions for use in the sliding block puzzle (another implementation of which is included in MATLAB as fifteen.m in the toolbox/matlab/demos directory.)

Categories

Find more on Strategy & Logic in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!