Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #ifndef BLACKJACK.H
- int deck[52] = {
- 1,1,1,1,
- 2,2,2,2,
- 3,3,3,3,
- 4,4,4,4,
- 5,5,5,5,
- 6,6,6,6,
- 7,7,7,7,
- 8,8,8,8,
- 9,9,9,9,
- 10,10,10,10,
- 10,10,10,10,
- 10,10,10,10,
- 10,10,10,10 };
- int deckstatus[52] = {
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0,
- 0,0,0,0, };
- int player1_points = 0;
- int dealer_points = 0;
- namespace blackjack
- {
- void run();
- void givecards();
- int random(int inicio, int limite);
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement