Sub deal() Dim i As Integer For i = 0 To 11 face(i) = randomdeal.Next(0, 11) Next i End Sub
I know how to generate and use random numbers, but making them not repeat is a challenge to me. I am making a card matching program where the player has to flip cards and match them. The only thing is, when I deal the cards, I get 3 or only 1 of a specific card sometimes. Any suggestions?