Advertisement
camilosasuketbs

Untitled

Dec 7th, 2022
821
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. bool bHitOrStand;
  2. do
  3.     {
  4.        
  5.         bHitOrStand = hitOrStand();
  6.        
  7.         playerLogic(bHitOrStand, cardDeck, playerScore);
  8.         std::cout << '\n';
  9.  
  10.         if(playerScore.score >= 21)
  11.         {
  12.             break;
  13.         }
  14.  
  15.     } while (bHitOrStand);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement