diff --git a/frontend/src/app/feature/game/blackjack/blackjack.component.html b/frontend/src/app/feature/game/blackjack/blackjack.component.html index dd62189..db4d698 100644 --- a/frontend/src/app/feature/game/blackjack/blackjack.component.html +++ b/frontend/src/app/feature/game/blackjack/blackjack.component.html @@ -6,9 +6,9 @@ @@ -16,7 +16,7 @@ diff --git a/frontend/src/app/feature/game/blackjack/components/dealer-hand/dealer-hand.component.ts b/frontend/src/app/feature/game/blackjack/components/dealer-hand/dealer-hand.component.ts index 11f9e90..6b8cdce 100644 --- a/frontend/src/app/feature/game/blackjack/components/dealer-hand/dealer-hand.component.ts +++ b/frontend/src/app/feature/game/blackjack/components/dealer-hand/dealer-hand.component.ts @@ -10,7 +10,7 @@ import { Card } from '../../models/card.model'; template: `

Croupier's Karten

-
+
- +
`, changeDetection: ChangeDetectionStrategy.OnPush, }) export class GameInfoComponent { - @Input() balance: number = 0; - @Input() currentBet: number = 0; - @Output() onNewGameClick = new EventEmitter(); + @Input() balance = 0; + @Input() currentBet = 0; + @Output() newGame = new EventEmitter(); } diff --git a/frontend/src/app/feature/game/blackjack/components/player-hand/player-hand.component.ts b/frontend/src/app/feature/game/blackjack/components/player-hand/player-hand.component.ts index c157968..2dc50c0 100644 --- a/frontend/src/app/feature/game/blackjack/components/player-hand/player-hand.component.ts +++ b/frontend/src/app/feature/game/blackjack/components/player-hand/player-hand.component.ts @@ -10,9 +10,9 @@ import { Card } from '../../models/card.model'; template: `

Deine Karten

-
+