Now if you had followed my tutorial on Using Arrays then you can understand what I am talking about. When I was asked to do this Array demo many of you sent me message saying if I could add Simple gameplay mechanic perhaps? matching, crushing, or anything that perform puzzle elements.
Well I could but, then how will one learn. I have decided just to improve the last tutorial. I have added how to slide tiles up, down, side ways. from this you could improve your game or do as you please.
if you had not followed my tutorial on Using Arrays then you will not understand what I am talking about therefore here is link to Using Arrays tutorial.
I have included the full demo here too.