HELLO! This is about C++ class exercise.
It is a card game between human and computer;) see who wins?
General Procedure:
Welcome to the blackjack game!
Player(you) is dealt with 2 cards;
Casino is dealt with 1 card;
Would player like to draw?
if No: Casino gets to draw.(Must stop when the last draw makes total > 16)
when casino.total>21, casino busted.
when casino.total=21, casino wins.
if Yes: Continue for player to draw.
when player.total > 21: player is busted;
when casino.total && player.total == 21 , they have a push situation;
when player.total = 21, player wins;
when casino.total<player.total<21, player wins (same for the other way round