feat(blackjack): add split functionality to the game #116

Merged
jleibl merged 4 commits from task/CAS-50/add_rest_blackjack_logic_with_frontend_animations into main 2025-04-02 09:41:19 +00:00
Showing only changes of commit d22c4c243f - Show all commits

feat(game-info): add placeholder and disable bet input
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Successful in 25s
CI / prettier (pull_request) Successful in 26s
CI / Checkstyle Main (pull_request) Successful in 41s
CI / test-build (pull_request) Successful in 42s

Jan-Marlon Leibl 2025-04-02 11:38:14 +02:00
Signed by: jleibl
GPG key ID: 300B2F906DC6F1D5

View file

@ -67,10 +67,12 @@ import { BettingService } from '@blackjack/services/betting.service';
type="number"
id="bet"
formControlName="bet"
class="w-full px-3 py-2 bg-deep-blue-light text-white rounded focus:outline-none focus:ring-2 focus:ring-emerald"
class="w-full px-3 py-2 bg-deep-blue-light text-white rounded focus:outline-none focus:ring-2 focus:ring-emerald disabled:opacity-50"
[min]="1"
[max]="balance"
step="0.01"
[disabled]="gameInProgress || isActionInProgress"
[placeholder]="balance | currency: 'EUR'"
/>
@if (betForm.get('bet')?.errors?.['required'] && betForm.get('bet')?.touched) {
<span class="text-xs text-accent-red">Bitte geben Sie einen Einsatz ein</span>