I'm creating a small (webbased) card game where I need a shuffle routine for my cards. I have made a small one that works if when I only have to have 1 deck, but I need to make one that can take care of x decks.
What I need as an output is a stringlist with the card id's in a random order. (0..54 (3 jokers)) So depending on how many decks, the stringlist will be count=55 or count=110 or ... (you get the meaning?)
Anybody have a simple shuffle routine for me? It would be nice if I only need to create that one stringlist that I need for the cards.