feat(blackjack): implement game start and controls functionality
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Successful in 20s
CI / test-build (pull_request) Successful in 28s
CI / prettier (pull_request) Successful in 34s
CI / Checkstyle Main (pull_request) Successful in 1m1s

This commit is contained in:
Jan-Marlon Leibl 2025-03-26 15:30:55 +01:00
parent d0ba0eb71d
commit 99f9f8d3c3
Signed by: jleibl
GPG key ID: 300B2F906DC6F1D5
9 changed files with 320 additions and 54 deletions

View file

@ -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);