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

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>