18 const int m_dealerLimit{};
21 Dealer(
const int playerLimit,
const int dealerLimit) :
Player(
"Dealer", playerLimit), m_dealerLimit{ dealerLimit }
void chance(Deck &deck) override
Depending on the m_dealerLimit, the dealer can HIT or must STAND.
Definition dealer.cpp:13
void hit(Deck &deck) override
Compute the score based on the card the dealer gets.
Definition dealer.cpp:24
Dealer(const int playerLimit, const int dealerLimit)
Definition dealer.h:21
A player is defined by the score that he earns through his chances, in which he can either hit or sta...
Definition player.h:22
Defines the contract for a Player.