Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool bHitOrStand;
- do
- {
- bHitOrStand = hitOrStand();
- playerLogic(bHitOrStand, cardDeck, playerScore);
- std::cout << '\n';
- if(playerScore.score >= 21)
- {
- break;
- }
- } while (bHitOrStand);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement