Blackjack Program
Iteration 2
Core Exercise HIT3172
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
Enumerator
src
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
14
class
blackjack_game
{
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
:
22
blackjack_game
();
23
~blackjack_game
();
24
25
void
start
();
26
void
hit
();
27
void
stand
();
28
29
blackjack_hand
*
dealer
();
30
blackjack_hand
*
current_player
();
31
bool
player_won
();
32
};
33
34
#endif
/* BLACKJACKGAME_H_ */
Generated on Mon Sep 10 2012 10:31:58 for Blackjack Program by
1.8.1.2