Files
Blackjack/main.cpp
2025-07-25 10:47:31 -07:00

40 lines
657 B
C++

#include <iostream>
#include "Blackjack.h"
#include "Card.h"
#include "Deck.h"
#include "GameDeck.h"
using namespace std;
/*
*
* A deck class which has
* - Cards in deck in vector
* - Shuffle deck function
* - A map of cards to numerical values
*
* A Game class
* - Adds decks to game and calls their shuffles
*
* Blackjack class, not sure hierarchy yet
* - has a gamedeck
* - game() method with main loop
* -
*
* Game deck is-a deck, inherits functions, difference is constructor takes amount of decks,
* creates that many, and slaps them into one bigger deck
*
*/
int main() {
Blackjack bj(4);
bj.play();
return 0;
}