Firstly, I would like to thank you all for your very warm welcome. It was very much appreciated.
I am creating a card game for a Visual Basic course I am doing, however, I am a bit confused by one stipulation the brief contains.
It states that a single deck of 52 cards must be used and no card should be reused until the deck is shuffled (when there is less than 15 cards left).
I have set up the array
Dim arrDeck(0 To 51) As Integer
and have considered several options to solve this problem:
1. Having an extra array dimension to state whether the card has been used or not
2. Creating a new Dispose array in which to copy used cards then copy them back for the shuffle
But I can not help but feel there is an easier way. Have I missed something?
I would appreciate any guidance anyone can offer.
Thanks in advance!