feat(blackjack): implement game start and controls functionality
All checks were successful
All checks were successful
This commit is contained in:
parent
d0ba0eb71d
commit
99f9f8d3c3
9 changed files with 320 additions and 54 deletions
|
@ -23,6 +23,7 @@ public class BlackJackService {
|
|||
BlackJackGameEntity game = new BlackJackGameEntity();
|
||||
game.setUser(user);
|
||||
game.setBet(betAmount);
|
||||
game.setState("IN_PROGRESS");
|
||||
|
||||
for (int i = 0; i < 2; i++) {
|
||||
CardEntity playerCard = createRandomCard(game);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue