Hey.
I've been doing a card deck game and ran into a problem. I have 8 spots where random cards a generated on. If you click on a button every CardSpawn should get a random card.
Code wise I have something like this:
i.imgur.com/adsN7AI.png
Though quite often the system picks the same cards (I think because all happens on exactly the same time) and it happens that I only have 4 or 5 or 6 cards on my spawnSprites and not 8.
Is there any better way to choose random cards without duplicates?
Regards,
Kraudi