Monday, November 25, 2013

Create a method that checks a poker hand

I need to create a method that compares 5 cards in a poker hand. for the 5 cards they use a card type object I created with::


public class Card


string[] faces;


string[] suits;


and with this I have a shuffle and deal card method where I have the five cards. all I have to do is compare the suit and faces of each card and I have no idea how to do so.


Please help me.


No comments:

Post a Comment