style: format code for consistency and readability
All checks were successful
All checks were successful
This commit is contained in:
parent
e983b21e07
commit
4a7c54eab8
3 changed files with 18 additions and 10 deletions
|
@ -106,7 +106,8 @@ export class GameResultComponent {
|
|||
}
|
||||
|
||||
getResultMessage(): string {
|
||||
if (this.gameState === GameState.PLAYER_BLACKJACK) return 'Glückwunsch! Du hast mit einem Blackjack gewonnen!';
|
||||
if (this.gameState === GameState.PLAYER_BLACKJACK)
|
||||
return 'Glückwunsch! Du hast mit einem Blackjack gewonnen!';
|
||||
if (this.isWin) return 'Glückwunsch! Du hast diese Runde gewonnen.';
|
||||
if (this.isLoss) return 'Schade! Du hast diese Runde verloren.';
|
||||
if (this.isDraw) return 'Diese Runde endet unentschieden. Dein Einsatz wurde zurückgegeben.';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue