Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static string[] CardValue = new string[] { "Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King" };
- public static string[] CardTypes = new string[] { "Hearts", "Diamonds", "Clubs", "Spades" };
- public static List<Card> BaseDeck = new List<Card>();
- static void Main(string[] args) {
- for (int i = 0; i < 4; i++) {
- for (int j = 0; j < 13; j++) {
- BaseDeck.Add(new Card() { Type = i, Value = j });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement