n-puzzle image

3 vues (au cours des 30 derniers jours)
Muckos
Muckos le 30 Août 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

Réponses (1)

Steven Lord
Steven Lord le 30 Août 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.)

Catégories

En savoir plus sur Strategy & Logic dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by