Blackjack Program  Iteration 2
Core Exercise HIT3172
 All Classes Functions Variables Enumerations Enumerator
blackjackgame.h
1 /*
2  * blackjackgame.h
3  *
4  * Created on: 21/08/2012
5  * Author: Adam Malcontenti-Wilson
6  */
7 
8 #ifndef BLACKJACKGAME_H_
9 #define BLACKJACKGAME_H_
10 
11 #include "blackjackhand.h"
12 #include "deck.h"
13 
15 private:
16  deck* _deck;
17  blackjack_hand* _player_hand;
18  blackjack_hand* _dealer_hand;
19 
20  void deal_card_to(blackjack_hand* hand, bool flip);
21 public:
24 
25  void start();
26  void hit();
27  void stand();
28 
31  bool player_won();
32 };
33 
34 #endif /* BLACKJACKGAME_H_ */