Hello guys,
While copying the code for the Deck.cs I've come across two problems I'd like very much for someone to clarify on:
1. In the ctr of Deck the line of code
Code:
cards[suitVal * 13 + rankVal -1] = new Card((Suit) suitVal , ((Rank) rankVal);
I did not fully comprehend its meaning.
2. What is/are the value(s) stored in
cards?
Thanks a lot
Avri