Assign each card in the array to the path of it's appropriate image. You could for an example use a
Dictionary<t,k>
in c#
eg;
Dictionary<Card,string> cards =
new Dictionary<Card,string>();
cards.Add(new Card {Value = 2, Face = diamond}, "di2.jpg");
The rest of the logic is down to you. this is just a simple idea to get you started. And
Card
is a custom class by the way.
http://msdn.microsoft.com/en-us/library/xfhwa508.aspx[
^]