Maxum, your way to shuffle is awesome. I never thought of something like that to permutate stuff around the first index from loop to loop is great.
I would have done something like keeping a string of 52 tokens and just pick randomly each token, fill the Array and delete them, until there's no token to pick.
But your way is far better.
The rest of the code is a bit heavy though, so let me show you how to simplify :shuffleCard.capx
in just 14 events
vidi I don't know if there's a tuto, but in short you can set value to indexes like X or X,Y or X,Y,Z
Array is just a data container. Test some stuff and come back with question if you don't understand what's going on.Yann2011-11-05 13:24:37