A class library encapsulating the rules of poker