Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #pragma once
  2. #ifndef BLACKJACK.H
  3. int deck[52] = {
  4. 1,1,1,1,
  5. 2,2,2,2,
  6. 3,3,3,3,
  7. 4,4,4,4,
  8. 5,5,5,5,
  9. 6,6,6,6,
  10. 7,7,7,7,
  11. 8,8,8,8,
  12. 9,9,9,9,
  13. 10,10,10,10,
  14. 10,10,10,10,
  15. 10,10,10,10,
  16. 10,10,10,10 };
  17.  
  18. int deckstatus[52] = {
  19. 0,0,0,0,
  20. 0,0,0,0,
  21. 0,0,0,0,
  22. 0,0,0,0,
  23. 0,0,0,0,
  24. 0,0,0,0,
  25. 0,0,0,0,
  26. 0,0,0,0,
  27. 0,0,0,0,
  28. 0,0,0,0,
  29. 0,0,0,0,
  30. 0,0,0,0,
  31. 0,0,0,0, };
  32.  
  33. int player1_points = 0;
  34. int dealer_points = 0;
  35. namespace blackjack
  36. {
  37. void run();
  38. void givecards();
  39. int random(int inicio, int limite);
  40. }
  41.  
  42. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement