|
|
@ -14,6 +14,7 @@ int blackjack(){ |
|
|
|
|
|
|
|
while(balance > 0){ |
|
|
|
printf("Aktuelles Guthaben: %d\n", balance); |
|
|
|
printf("-----------------------------\n"); |
|
|
|
int bet = getBetBJ(balance, exitPtr); |
|
|
|
// Abbruchbedingung, um das Blackjack zu verlassen |
|
|
|
if(exit) { |
|
|
@ -200,6 +201,7 @@ bool hit(){ |
|
|
|
|
|
|
|
if(answer != 1){ |
|
|
|
printf("You stand.\n\n"); |
|
|
|
printf("-----------------------------\n"); |
|
|
|
return false; |
|
|
|
} |
|
|
|
printf("You hit.\n\n"); |
|
|
|