Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. /*
  2. initializes game
  3. checks handvalue, displays hands
  4.  
  5. */
  6.  
  7. /* Checks the value of the hand
  8. * Takes the hand as a parameter
  9. *
  10. */
  11.  
  12.  
  13. /* The dealer is playing.
  14. * Picking cards while the value is <=26
  15. * A command for printing the hand of the dealer.
  16. * This is called after every round of the player, as long as he/she is not busted.
  17. */
  18.  
  19. /*Checks if the player wants to have another round. The player types "y" for yes and
  20. * anything else for "no". It is done through a while that is looping as long as
  21. * the player is typing "y".
  22. *
  23. */
  24.  
  25. // since neither escape characters, cls or
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement