This is C++ done in visual studio
I’m trying to create a text based version of the card game”blackjack” (twenty-one) game, I’ve done a bit of the code but i’mnot sure where to go from here. Here’s a link to the ruleshttps://bicyclecards.com/how-to-play/blackjack/. Could you pleasehelp me while still using my code? I can’t do anything fancy, so ifyou could do this in the most basic way possible that would bereally great. Thanks!
Here’s my code:
#include
#include
using namespace std;
class card {
private:
string suit;
string rank;
int points;
public:
card(string Suit, string Card, int pts);
card() {};
void display();
};
class deck {
private:
card array[52];
public:
deck();
void display();
};
card::card(string Suit, string Card, int pts) {
suit = Suit;
rank =
PayPal Gateway not configured
PayPal Gateway not configured