Commit graph

62 commits

Author SHA1 Message Date
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
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
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
3092f4a688 chore(deps): update all non-major dependencies
All checks were successful
CI / prettier (pull_request) Successful in 24s
CI / eslint (pull_request) Successful in 42s
CI / test-build (pull_request) Successful in 51s
CI / Checkstyle Main (pull_request) Successful in 2m7s
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
a091387c1c
fix: 500 when loggin in 2025-02-19 11:59:36 +01:00
5afdbad461
refactor 2025-02-19 11:43:53 +01:00
df9fa9f275
fix: fix some stuff 2025-02-19 11:43:53 +01:00
793f3f6834
feat: add user creation on login (wip) 2025-02-19 11:43:49 +01:00
96bd5ac704
chore: fix file paths and add missing newlines 2025-02-13 12:26:43 +01:00
5e24e3d020
style(checkstyle): remove unused SuppressionFilter module 2025-02-13 12:18:13 +01:00
4a9c769bbc
build: add checkstyle configuration file path 2025-02-13 12:14:52 +01:00
d117f5912a
build: update Checkstyle container image version 2025-02-13 12:00:38 +01:00
193f444f4f
build: add checkstyle plugin and update reports settings 2025-02-13 11:49:42 +01:00
e2927abe60
refactor: add lombok attributes to dto 2025-02-13 11:07:59 +01:00