Were I to do this, I'd make some changes (if you have it working, just consider this some code review, hand in what you have unless you are very keen). Create an
enum
for the 4 suits (clubs, hearts, ...). Create a class that contains both the suit and the value as properties. Figure out how to load the card image from the properties of the card class, and make the card image a read-only property that works once the image is loaded. Now you can build your deck with two nested loops (1..13) and (Heart .. Spade). Once the deck is built, tell each card to load its image. Then shuffle the deck —
Flydog57 15 secs ago