Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | adammasterek |
Hello!
So, I’m making a Memory Card Game. It works fine so far but the cards are not shuffling and to be honest, I don’t really know how to make them appear in random order on my deck. I tried randi() but it seems I just don’t know how to use it. The only thing I know is that I should add some randomize/shuffle code under my “func dealDeck()” function. But how to do it? Here’s my code: Memory-Game-Code hosted at ImgBB — ImgBB