Commit graph

90 commits

Author SHA1 Message Date
a2f1a40931
Merge pull request 'task/CAS-50/add_rest_blackjack_logic_with_frontend_animations' (!121) from task/CAS-50/add_rest_blackjack_logic_with_frontend_animations into main
All checks were successful
Release / Release (push) Successful in 51s
Reviewed-on: #121
2025-04-02 11:09:07 +00:00
68a226b677
feat(debt-dialog): add debt warning dialog for negative balance 2025-04-02 12:50:51 +02:00
0aa7ad1031
style: Fix missing newline at end of files
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Successful in 1m3s
CI / prettier (pull_request) Successful in 51s
CI / test-build (pull_request) Successful in 1m23s
CI / Checkstyle Main (pull_request) Successful in 3m40s
2025-04-02 12:17:35 +02:00
6182ff717f
feat(deposit): enhance payment session handling and error logging
Some checks failed
CI / Get Changed Files (pull_request) Successful in 7s
CI / prettier (pull_request) Successful in 27s
CI / Checkstyle Main (pull_request) Failing after 1m0s
CI / eslint (pull_request) Successful in 1m54s
CI / test-build (pull_request) Successful in 2m2s
2025-04-02 12:12:13 +02:00
9981ebc9d1
fix(deps): update dependencies (major and minor)
Some checks failed
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Successful in 30s
CI / test-build (pull_request) Successful in 37s
CI / prettier (pull_request) Successful in 1m2s
CI / Checkstyle Main (pull_request) Failing after 2m20s
2025-04-02 10:01:44 +00:00
4c83419a31
Merge branch 'main' into task/CAS-50/add_rest_blackjack_logic_with_frontend_animations
All checks were successful
CI / Get Changed Files (pull_request) Successful in 8s
CI / eslint (pull_request) Successful in 21s
CI / test-build (pull_request) Successful in 28s
CI / prettier (pull_request) Successful in 42s
CI / Checkstyle Main (pull_request) Successful in 1m47s
2025-04-02 09:38:43 +00:00
e9c4d4fbed
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
2025-04-02 11:29:16 +02:00
3ef5530e77
feat(blackjack): add split functionality to the game
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / prettier (pull_request) Successful in 19s
CI / Checkstyle Main (pull_request) Successful in 50s
CI / eslint (pull_request) Successful in 53s
CI / test-build (pull_request) Successful in 1m12s
2025-04-02 11:25:03 +02:00
ec994616ee
Merge branch 'main' into feat/lootboxes
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 38s
2025-04-02 09:15:31 +00:00
Phan Huy Tran
948240ba1e fix: fix wrong reward getting returned, refactor to service
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 39s
2025-04-02 11:15:08 +02:00
Phan Huy Tran
b963595ab4 feat: manage balance
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m29s
2025-04-02 11:04:20 +02:00
Phan Huy Tran
8a6bc95c92 feat: add route to get all lootboxes 2025-04-02 10:18:51 +02:00
08b12d238e
feat(blackjack): add PLAYER_WON state to BlackJackState
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Successful in 18s
CI / test-build (pull_request) Successful in 28s
CI / prettier (pull_request) Successful in 59s
CI / Checkstyle Main (pull_request) Successful in 2m18s
2025-04-02 10:14:19 +02:00
4b569157aa
feat: add game state enum and refactor game components 2025-04-02 10:12:28 +02:00
d2b22b561d
feat: add double down feature to blackjack game 2025-04-02 10:12:19 +02:00
d90fcdcf1e
feat: add stand and get game features to blackjack game 2025-04-02 10:11:26 +02:00
Phan Huy Tran
e4bcd9d791 refactor: use many to many relation for lootboxes and rewards 2025-04-02 10:08:23 +02:00
Phan Huy Tran
084d478cd9 feat: create repositories
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m28s
2025-04-02 09:18:17 +02:00
Phan Huy Tran
1878ed8fe4 feat: create lootbox and rewards entity 2025-04-02 09:15:37 +02:00
Phan Huy Tran
cb6c1550b7 refactor: refactor state logic
All checks were successful
CI / Get Changed Files (pull_request) Successful in 9s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 54s
2025-03-27 15:46:07 +01:00
Phan Huy Tran
ffd651d74b feat: add balance when player wins gets blackjack in first round
All checks were successful
CI / Get Changed Files (pull_request) Successful in 30s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m19s
2025-03-27 14:18:03 +01:00
4fa7b63b04 Merge pull request 'feat: validate game state on hit (CAS-51)' (!103) from feat/hit-state-validation into main
All checks were successful
Release / Release (push) Successful in 41s
Reviewed-on: #103
Reviewed-by: Jan K9f <jan@kjan.email>
2025-03-27 13:07:37 +00:00
Phan Huy Tran
4764c12909 feat: validate game state on hit
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m45s
2025-03-27 14:05:13 +01:00
e9a8267208
feat(blackjack): add player lost state in game logic
All checks were successful
CI / Get Changed Files (pull_request) Successful in 8s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m1s
2025-03-27 14:03:33 +01:00
d7690e630e Merge pull request 'chore(deps): update plugin org.springframework.boot to v3.4.4' (!84) from renovate/all-minor-patch into main
All checks were successful
Release / Release (push) Successful in 40s
Reviewed-on: #84
Reviewed-by: Jan K9f <jan@kjan.email>
2025-03-27 12:53:46 +00:00
8ec97d7f2f Merge pull request 'fix(deps): update dependencies (major and minor)' (!85) from renovate/dependencies-(major-and-minor) into main
Some checks failed
Release / Release (push) Has been cancelled
Reviewed-on: #85
Reviewed-by: Jan K9f <jan@kjan.email>
2025-03-27 12:53:27 +00:00
Phan Huy Tran
7a7d24c8ea fix: fix playercards, dealercards and deck referencing the same database entity
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 34s
2025-03-27 13:50:17 +01:00
aca389a9b0 fix(deps): update dependencies (major and minor)
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m36s
2025-03-27 12:01:53 +00:00
500a76dd7a player gets way to many cards and I dont know why pls help
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 35s
2025-03-27 12:50:59 +01:00
59562e5b64 fix(BlackJackGameController): improve game existence check 2025-03-27 12:50:59 +01:00
bd5539bb42 feat(blackjack): implement hit action for blackjack game 2025-03-27 12:50:59 +01:00
ed5960877d feat(blackjack): add hit endpoint for blackjack game 2025-03-27 12:50:55 +01:00
Phan Huy Tran
90abd13a2c feat: handle player drawing blackjack at the start of the game
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 36s
2025-03-27 12:45:52 +01:00
Phan Huy Tran
caa210a80e refactor: add blackjack state enum 2025-03-27 12:08:57 +01:00
Phan Huy Tran
55daca72c0 feat: add deck to blackjack game instead of random cards
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m24s
2025-03-27 11:40:50 +01:00
99f9f8d3c3
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
2025-03-26 15:30:55 +01:00
Phan Huy Tran
ca87c684b1 refactor: Extract game creation logic to service
All checks were successful
CI / Get Changed Files (pull_request) Successful in 29s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 1m19s
2025-03-26 14:31:32 +01:00
Phan Huy Tran
1b9bc90920 feat: Adjust json responses 2025-03-26 14:20:31 +01:00
Phan Huy Tran
85d2b218aa feat: Add user relation to black jack game entity 2025-03-26 13:03:06 +00:00
Phan Huy Tran
64e41b663e feat: Subtract user balance, persist game 2025-03-26 13:03:06 +00:00
Phan Huy Tran
b2b0bb2f44 feat: Validate bet amount 2025-03-26 13:03:06 +00:00
Phan Huy Tran
1a4b3f073f fix: add openid scope to get bearer token request 2025-03-26 13:03:06 +00:00
8cb045fcbe feat(blackjack): add BlackJack game creation functionality 2025-03-26 13:03:06 +00:00
Phan Huy Tran
24ea51318f feat: Add card class 2025-03-26 13:03:06 +00:00
ad9fb7e735 chore: update Hibernate ddl-auto setting to 'update'
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 26s
2025-03-26 12:39:40 +00:00
cafa2c148f chore(deps): update plugin org.springframework.boot to v3.4.4
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
CI / Checkstyle Main (pull_request) Successful in 2m50s
2025-03-26 10:01:43 +00:00
Phan Huy Tran
f8013d2438 refactor: Switch stripe tokens to use the casino stripe account
All checks were successful
CI / Get Changed Files (pull_request) Successful in 25s
CI / prettier (pull_request) Successful in 52s
CI / Checkstyle Main (pull_request) Successful in 59s
CI / eslint (pull_request) Successful in 1m12s
CI / test-build (pull_request) Successful in 1m16s
2025-03-26 09:14:07 +01:00
Phan Huy Tran
07a5cee330 checkstyle
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / prettier (pull_request) Successful in 19s
CI / eslint (pull_request) Successful in 34s
CI / Checkstyle Main (pull_request) Successful in 38s
CI / test-build (pull_request) Successful in 41s
2025-03-13 15:10:16 +01:00
Phan Huy Tran
d25b894f38 feat: Save balance after successful payment
Some checks failed
CI / Get Changed Files (pull_request) Successful in 9s
CI / eslint (pull_request) Successful in 39s
CI / prettier (pull_request) Successful in 37s
CI / test-build (pull_request) Successful in 42s
CI / Checkstyle Main (pull_request) Failing after 1m22s
2025-03-13 15:02:32 +01:00
ebd16b6503 fix(deps): update dependencies (major and minor)
All checks were successful
CI / eslint (pull_request) Successful in 28s
CI / prettier (pull_request) Successful in 36s
CI / test-build (pull_request) Successful in 43s
CI / Checkstyle Main (pull_request) Successful in 1m42s
2025-03-13 07:02:20 +00:00