stdhand.h

 // StandardBlack jack hand header // Brandon Goldfedder #ifndef _STANDARDBLACKJACKHAND #define _STANDARDBLACKJACKHAND #include "bjhand.h" #include <deque> class Displayer; // Forward reference to avoid circular // references' class StandardBlackJackHand: public BlackJackHand { public: StandardBlackJackHand(Displayer* displayer); virtual ~StandardBlackJackHand(); unsigned int LowCount() const; // Count the Ace as lower unsigned int HighCount() const; // Count the Ace as high bool IsBlackJack() const; // Is there a blackjack bool IsSplitable() const; // Is there a blackjack unsigned int NumCards() const; // How many cards have been dealt const Card& GetCard(unsigned int which) const; // Get a card user must ensure which <= NumCards void ...

Get Joy of Patterns: Using Patterns for Enterprise Development, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.