refactor(BlackJackService): simplify card dealing logic
All checks were successful
All checks were successful
This commit is contained in:
parent
3ef5530e77
commit
e9c4d4fbed
1 changed files with 1 additions and 5 deletions
|
@ -46,11 +46,7 @@ public class BlackJackService {
|
|||
return game;
|
||||
}
|
||||
|
||||
if (game.isSplit()) {
|
||||
dealCardToPlayer(game);
|
||||
} else {
|
||||
dealCardToPlayer(game);
|
||||
}
|
||||
|
||||
updateGameStateAndBalance(game);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue