#include #include #include #include "player.h" using namespace std; int main() { Deck theDeck; theDeck.shuffle(); for(int i=0; i<52; i++) cout< card2.rank) { player1.addPoints(2); cout << "Player 1 wins round\n"; } else { player2.addPoints(2); cout << "Player 2 wins round\n"; } // now replace the cards drawn player1.replaceCard(theDeck); player2.replaceCard(theDeck); } cout << "\nEnd of game " << endl; cout << "Player 1 score " << player1.score() << endl; cout << "Player 2 score " << player2.score() << endl; system("PAUSE"); return 0; }