Right now I'm writing a program that will determine the value of a hand of cards. five in total. i have a cardHand object. I'm planning to write an object that compares two objects together in order to determine which hand has a higher value. the two objects that will be compared are objects that contain the possible hand values (one pair, three of a kind... etc).
would stackoverflow see this as a fit method of OOP?
PS: i do know that the algorithm is floating around on the internet but im trying to do this by my self first for the XP.