n-puzzle image

6 次查看(过去 30 天)
Muckos
Muckos 2016-8-30
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

回答(1 个)

Steven Lord
Steven Lord 2016-8-30
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.)

类别

Help CenterFile Exchange 中查找有关 Strategy & Logic 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by