n-puzzle image

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

1 个投票

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.)

类别

在 帮助中心 和 File Exchange 中查找有关 Number games 的更多信息

提问:

2016-8-30

Community Treasure Hunt

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

Start Hunting!

Translated by