I'm displaying random numbers on individual sprites and want to shuffle the individual container with the same no displaying on it. how to shuffle a set of sprites randomly without repeating the same color?
My array is:
var color = new Array();
color[0] = 'greenBox';
color[1] = 'blueBox';
color[2] = 'purpleBox';
color[3] = 'yellowBox';
color[4] = 'redBox';
color[5] = 'whiteBox';
color[6] = 'pinkBox';