Determining a winner in Umpteen Puzzle using if statements

I'm asked to program umpteen puzzle using MATLAB. I finished coding the first two functions which are, create Case and slide Tile. Currently, I'm trying to determine the winner using if statements.
This is my input function [ decision ] = gameOver( ourCase )
could you please tell me how can I begin?
Thank you

Answers (0)

Categories

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

Asked:

on 22 Feb 2015

Edited:

on 22 Feb 2015

Community Treasure Hunt

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

Start Hunting!