Blackjack
Loading...
Searching...
No Matches
Classes | Typedefs
blackjack.h File Reference

Defines a 2-player ( User vs Dealer ) game of Blackjack. More...

#include "player.h"
#include "deck.h"
#include <vector>

Go to the source code of this file.

Classes

class  Blackjack
 A game of Blackjack is defined by the players, a deck of cards, and a few parameters based on the rules. More...
 

Typedefs

using Players = std::vector< Player * >
 Players is a vector of Player addresses
 

Detailed Description

Defines a 2-player ( User vs Dealer ) game of Blackjack.

Author
DSN
Version
0.4
Date
2023-08-19

Typedef Documentation

◆ Players

using Players = std::vector<Player*>

Players is a vector of Player addresses

  • Run-time polymorphism requires us to use the base class address.