From f1c70f5f2c4d1809fdb45fbfdf3a4f75f6acd2bd Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Wed, 2 Apr 2025 09:08:04 +0200 Subject: [PATCH] style: format code and add missing newlines --- frontend/src/app/enum/gameState.ts | 2 +- .../game-controls/game-controls.component.ts | 11 ++++++++--- .../game/blackjack/services/game-controls.service.ts | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/enum/gameState.ts b/frontend/src/app/enum/gameState.ts index b07bf85..69e3ddf 100644 --- a/frontend/src/app/enum/gameState.ts +++ b/frontend/src/app/enum/gameState.ts @@ -3,4 +3,4 @@ export enum GameState { IN_PROGRESS = 'IN_PROGRESS', PLAYER_LOST = 'PLAYER_LOST', DRAW = 'DRAW', -} \ No newline at end of file +} diff --git a/frontend/src/app/feature/game/blackjack/components/game-controls/game-controls.component.ts b/frontend/src/app/feature/game/blackjack/components/game-controls/game-controls.component.ts index 00a8eca..7572376 100644 --- a/frontend/src/app/feature/game/blackjack/components/game-controls/game-controls.component.ts +++ b/frontend/src/app/feature/game/blackjack/components/game-controls/game-controls.component.ts @@ -16,7 +16,10 @@ import { GameControlsService } from '../../services/game-controls.service'; Deine Punkte: {{ gameControlsService.calculateHandValue(playerCards) }}
- Status: {{ gameControlsService.getStatusText(gameState) }} + Status: + {{ + gameControlsService.getStatusText(gameState) + }}
@@ -54,7 +57,9 @@ import { GameControlsService } from '../../services/game-controls.service';