Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- srand(time(NULL));
- int m = rand();
- unsigned index = arc4random() % self.cards.count;
- randomCard = self.cards[index];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement