Hello, I am drawing a blank on a proper approach to what I am trying to accomplish.
To make a normal deck of cards I would do this:
public static new string[ ] suits = new string [ ] { “C”, “D”, “H”, “S” };
public static new string[ ] values = new string [ ] { “A”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “10”, “J”, “Q”, “K” };
Then I loop through and create the deck and each suit has an A-K all good.
What if I have a deck where I have suits that are only 1,3,5,7,9 and another suit that is 1,2,3,5,6,7,9 and another suit 1,2,3,5,6,7,8,9,11 and then 1,2,3,4,5,6,7,8,9,10,11,12,13
I cant figure out a proper loop to even do this or can you even do it with a loop?
Thank you