To create the house of cards, need to map the card face graphic to cards, cyclically, or randomly. I have this card face graphic:
Overall size is 2904×1622.
Need to make a function:
Upper left corner (zero-based): x = rank * 223.4 y = suit number * 324 - Rank: 0 to 12 is Ace through King - Suite: 0 to 3 is clubs, diamonds, hearts, spades. - Suite number 4 has 0=Black Joker, 1 = Red Joker, 2 = card back Size is 223x324