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
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 中查找有关 Strategy & Logic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!