Commit graph

377 commits

Author SHA1 Message Date
ae8dcab038
style: fix formatting in constructor definitions 2025-04-02 09:20:45 +02:00
aad692aea5
refactor(blackjack): update import paths for components 2025-04-02 09:20:42 +02:00
57a4b03bde
style(tsconfig): update path mappings to array syntax 2025-04-02 09:20:18 +02:00
ebf2ee0531
style(tsconfig): fix path configuration formatting 2025-04-02 09:20:17 +02:00
35d53bce30
style: format constructor style in components 2025-04-02 09:20:16 +02:00
f5a16efa67
refactor: update imports to use absolute paths 2025-04-02 09:20:15 +02:00
a425fdea80
refactor: update import paths for better readability 2025-04-02 09:20:11 +02:00
f881f82ef1
refactor(blackjack): move GameState to feature folder
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Successful in 19s
CI / test-build (pull_request) Successful in 27s
CI / prettier (pull_request) Successful in 41s
CI / Checkstyle Main (pull_request) Successful in 1m25s
2025-04-02 09:18:43 +02:00
f1c70f5f2c
style: format code and add missing newlines
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / prettier (pull_request) Successful in 22s
CI / eslint (pull_request) Successful in 24s
CI / test-build (pull_request) Successful in 56s
CI / Checkstyle Main (pull_request) Successful in 1m40s
2025-04-02 09:08:04 +02:00
732d475a84
feat: add game state enum and refactor game components
Some checks failed
CI / Get Changed Files (pull_request) Successful in 6s
CI / prettier (pull_request) Failing after 26s
CI / eslint (pull_request) Failing after 28s
CI / test-build (pull_request) Successful in 37s
CI / Checkstyle Main (pull_request) Successful in 2m25s
2025-04-02 09:06:44 +02:00
05322e3d83
refactor(blackjack): remove unnecessary comments and clean code
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 27s
CI / eslint (pull_request) Successful in 45s
CI / test-build (pull_request) Successful in 56s
2025-03-27 15:50:34 +01:00
23888ceb27
style(blackjack): format code for better readability
Some checks failed
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Failing after 8s
CI / prettier (pull_request) Successful in 20s
CI / Checkstyle Main (pull_request) Successful in 31s
CI / test-build (pull_request) Successful in 46s
2025-03-27 15:47:16 +01:00
adc5bbd345
feat(blackjack): add action indicators and loading states
Some checks failed
CI / Get Changed Files (pull_request) Successful in 7s
CI / prettier (pull_request) Failing after 1m0s
CI / eslint (pull_request) Failing after 1m3s
CI / test-build (pull_request) Successful in 1m18s
CI / Checkstyle Main (pull_request) Successful in 1m31s
2025-03-27 15:44:38 +01:00
c9f71f70fa
feat: add double down feature to blackjack game 2025-03-27 15:40:26 +01:00
68ea66d4f9
feat: add stand and get game features to blackjack game 2025-03-27 15:22:24 +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
4b4de32e1d Merge pull request 'feat(blackjack): add player lost state in game logic (CAS-51)' (!102) from update-state-on-hit into main
Some checks failed
Release / Release (push) Has been cancelled
Reviewed-on: #102
Reviewed-by: Phan Huy Tran <ptran@noreply.localhost>
2025-03-27 13:07:03 +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
36f2d80d5c Merge pull request 'feat(blackjack): add hit endpoint for blackjack game (CAS-51)' (!97) from add-hitting into main
Some checks failed
Release / Release (push) Has been cancelled
Reviewed-on: #97
Reviewed-by: Phan Huy Tran <ptran@noreply.localhost>
2025-03-27 12:52:41 +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
2b8d45f6ec Merge pull request 'Update README.md' (!99) from jank-patch-1 into main
Reviewed-on: #99
2025-03-27 12:02:02 +00: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
bbb991a25b Update README.md
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / Checkstyle Main (pull_request) Has been skipped
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
2025-03-27 11:59:49 +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
deb5b6525f Merge pull request 'feat: Implement player winning state at startup' (!98) from feat/state-enum into main
All checks were successful
Release / Release (push) Successful in 48s
Reviewed-on: #98
Reviewed-by: Jan K9f <jan@kjan.email>
2025-03-27 11:49:37 +00: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
4b23f3c67f Merge pull request 'feat: add deck to blackjack game instead of random cards' (!96) from feat/deck into main
All checks were successful
Release / Release (push) Successful in 50s
Reviewed-on: #96
Reviewed-by: Jan K9f <jan@kjan.email>
2025-03-27 10:54:49 +00:00
4f6add087b Merge pull request 'docs: add optional watchexec command to README.md' (!95) from add-some-docs into main
Reviewed-on: #95
Reviewed-by: Phan Huy Tran <ptran@noreply.localhost>
2025-03-27 10:42:27 +00: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
71cda97dab
docs: add optional watchexec command to README.md
All checks were successful
CI / Get Changed Files (pull_request) Successful in 25s
CI / Checkstyle Main (pull_request) Has been skipped
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped
2025-03-27 10:47:46 +01:00
cc92f234d7 Merge pull request 'feat(blackjack): implement game start and controls functionality' (!94) from task/CAS-50/add_frontend_game_start into main
All checks were successful
Release / Release (push) Successful in 48s
Reviewed-on: #94
2025-03-26 14:39:15 +00: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
d0ba0eb71d Merge pull request 'feat: Implement starting a Blackjack game (CAS-50)' (!89) from feat/blackjack into main
All checks were successful
Release / Release (push) Successful in 50s
Reviewed-on: #89
Reviewed-by: Jan K9f <jan@kjan.email>
2025-03-26 13:47:13 +00: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
3df8926e8a Merge pull request 'chore: update Hibernate ddl-auto setting to 'update'' (#93) from fix/db-deletion into main
All checks were successful
Release / Release (push) Successful in 31s
Reviewed-on: #93
Reviewed-by: Jan K9f <jan@kjan.email>
2025-03-26 12:41:12 +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