How to Randomize Cards That Never Repeat?

Hi,

So I'm having some issues with trying to get a random number generator that never spits out the same card again. It seems to work for the most part, but I occasionally get repeats which should never happen. I'm just thinking that it isn't continually repeating and sometimes settles. I appreciate any help.

This is where I got the code I'm working with for it. Obviously some slight modifications to fit my purpose.
@ericzingler
https://forums.gamesalad.com/discussion/46274/how-can-i-limit-random-min-max-values

Answers

  • FallacyStudiosFallacyStudios Member Posts: 970
    Okay so I found a far better solution. I had looked at Tshirtbooths other videos and they didn't fit my purpose, but I stumbled on this one of his and it works perfectly.

    So anyone trying to do something similar I suggest using this if you want truly non repeated random numbers, words, or etc.

Sign In or Register to comment.