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 e9c4d4fbed - Show all commits

refactor(BlackJackService): simplify card dealing logic
All checks were successful
CI / Get Changed Files (pull_request) Successful in 5s
CI / prettier (pull_request) Successful in 21s
CI / test-build (pull_request) Successful in 40s
CI / eslint (pull_request) Successful in 48s
CI / Checkstyle Main (pull_request) Successful in 52s

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

View file

@ -46,11 +46,7 @@ public class BlackJackService {
return game;
}
if (game.isSplit()) {
dealCardToPlayer(game);
} else {
dealCardToPlayer(game);
}
dealCardToPlayer(game);
updateGameStateAndBalance(game);