feat: add stand and get game features to blackjack game

This commit is contained in:
Jan-Marlon Leibl 2025-03-27 15:22:24 +01:00
parent 4e8530c861
commit d90fcdcf1e
Signed by: jleibl
GPG key ID: 300B2F906DC6F1D5
13 changed files with 446 additions and 32 deletions

View file

@ -7,6 +7,8 @@
<app-player-hand [cards]="playerCards()"></app-player-hand>
@if (gameInProgress()) {
<app-game-controls
[playerCards]="playerCards()"
[gameState]="gameState()"
(hit)="onHit()"
(stand)="onStand()"
(leave)="leaveGame()"
@ -24,3 +26,10 @@
</div>
</div>
</div>
<!-- Game Result Modal -->
<app-game-result
[gameState]="gameState()"
[amount]="currentBet()"
[show]="showGameResult()"
></app-game-result>