Creating Poker Hands and comparing them

Currently have not written this portion of my code because im not sure how i should go about this. I'm writing a game (for fun) called dueces. Currently im working on how to create 5 card hands. Would it be best to implement a subclass? because i have a class card cardTempate which has the basic info of the cards. And also how would i compare two or three pokerhands to see which one is stronger? I have a little bit of an idea but still a little lost. Thanks for any help! I can also supply some code if needed but again i havent written this portion yet. Thanks for the help in advance!
Topic archived. No new replies allowed.