Open kevindavisross opened 7 years ago
It seems to me like .is_fullhouse()
would only make sense if you were drawing 5 cards and .is_pair()
would only make sense if you were drawing 2 cards. If we wanted to implement these, we would have to figure out how to define them no matter how many cards are drawn. What are your thoughts?
This is really low priority for me, so I don't think it's anything we need to worry about now. But I guess we could think of is.fullhouse() as "at least one full house in the hand", and it would just return False if fewer than 5 cards.
Add methods to DeckofCards that allow easy simulation of typical card shuffling problems. For example, .is_fullhouse(), .is_pair(), etc.