feat(blackjack): add split functionality to the game #116
1 changed files with 1 additions and 5 deletions
|
@ -46,11 +46,7 @@ public class BlackJackService {
|
||||||
return game;
|
return game;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (game.isSplit()) {
|
dealCardToPlayer(game);
|
||||||
dealCardToPlayer(game);
|
|
||||||
} else {
|
|
||||||
dealCardToPlayer(game);
|
|
||||||
}
|
|
||||||
|
|
||||||
updateGameStateAndBalance(game);
|
updateGameStateAndBalance(game);
|
||||||
|
|
||||||
|
|
Reference in a new issue