Commit graph

72 commits

Author SHA1 Message Date
e2a1494ee1
fix(deps): update dependencies (major and minor) 2025-04-01 22:02:20 +00:00
Phan Huy Tran
cb6c1550b7 refactor: refactor state logic 2025-03-27 15:46:07 +01:00
Phan Huy Tran
ffd651d74b feat: add balance when player wins gets blackjack in first round 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
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 2025-03-27 14:05:13 +01:00
e9a8267208
feat(blackjack): add player lost state in game logic 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
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
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 2025-03-27 13:50:17 +01:00
aca389a9b0 fix(deps): update dependencies (major and minor) 2025-03-27 12:01:53 +00:00
500a76dd7a player gets way to many cards and I dont know why pls help 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 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 2025-03-27 11:40:50 +01:00
99f9f8d3c3
feat(blackjack): implement game start and controls functionality 2025-03-26 15:30:55 +01:00
Phan Huy Tran
ca87c684b1 refactor: Extract game creation logic to service 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' 2025-03-26 12:39:40 +00:00
cafa2c148f chore(deps): update plugin org.springframework.boot to v3.4.4 2025-03-26 10:01:43 +00:00
Phan Huy Tran
f8013d2438 refactor: Switch stripe tokens to use the casino stripe account 2025-03-26 09:14:07 +01:00
Phan Huy Tran
07a5cee330 checkstyle 2025-03-13 15:10:16 +01:00
Phan Huy Tran
d25b894f38 feat: Save balance after successful payment 2025-03-13 15:02:32 +01:00
ebd16b6503 fix(deps): update dependencies (major and minor) 2025-03-13 07:02:20 +00:00
3092f4a688 chore(deps): update all non-major dependencies 2025-03-12 19:02:41 +00:00
Hop In, I Have Puppies AND WiFi
f855dc521d Merge pull request 'Remove unused imports in security config and user entity (CAS-0)' (!53) from task/CAS-0/RemoveUnusedImports into main
Reviewed-on: https://git.simonis.lol/projects/casino/pulls/53
Reviewed-by: Huy <ptran@noreply@simonis.lol>
2025-03-06 11:51:23 +00:00
f2bd399c05 Merge pull request 'add test for backend' (!42) from tests/backend into main
Reviewed-on: https://git.simonis.lol/projects/casino/pulls/42
Reviewed-by: Huy <ptran@noreply@simonis.lol>
2025-03-06 11:50:06 +00:00
1d7d84706d
refactor: remove unused imports in security config and user entity 2025-03-06 12:45:24 +01:00
f172e00d0a chore: add success bool to success / cancel url 2025-03-05 12:04:48 +01:00
Hop In, I Have Puppies AND WiFi
a1850a9705 Merge branch 'main' into task/CAS-0/UpdateJavaVersion 2025-03-05 10:03:50 +00:00
909dab2876
build: update Java language version to 23 2025-03-05 10:17:11 +01:00
bba33135d5
fix: change redirect route 2025-03-05 09:14:10 +01:00
c102f6ea65
fix: typo 2025-03-05 09:00:41 +01:00
f011ade4a8
fix: add frontend host to application properties 2025-03-05 08:59:34 +01:00
204970856b
fix: add correct redirect url after deposit 2025-03-05 08:57:14 +01:00
Phan Huy Tran
aef0f09d09 refactor: Change balance type to bigdecimal for better precision 2025-02-26 11:05:06 +01:00
74f598a24c
remove comment 2025-02-26 11:01:26 +01:00
834cb559ef add test for health controller 2025-02-26 09:57:54 +00:00
cf569386ad add test for user controller 2025-02-26 09:57:54 +00:00
Phan Huy Tran
24be28af1b chore: Add http requests for user 2025-02-26 09:58:33 +01:00
7bd06dee62
refactor(user): reorganize imports and code structure 2025-02-19 12:23:45 +01:00
6c025cc8d2
fix: lazy load login success component 2025-02-19 12:18:12 +01:00