Commit graph

395 commits

Author SHA1 Message Date
775205b54c
style(blackjack): remove commented modal sections from HTML 2025-04-02 13:04:19 +02:00
40c402ae36
feat: add hand value display to dealer and player hands
Some checks failed
CI / Get Changed Files (pull_request) Successful in 6s
CI / prettier (pull_request) Failing after 20s
CI / test-build (pull_request) Successful in 35s
CI / eslint (pull_request) Failing after 44s
CI / Checkstyle Main (pull_request) Successful in 51s
2025-04-02 13:03:04 +02:00
801edfe89e
feat(blackjack): add balance display to game result component 2025-04-02 12:58:12 +02:00
68a226b677
feat(debt-dialog): add debt warning dialog for negative balance 2025-04-02 12:50:51 +02:00
d22c4c243f
feat(game-info): add placeholder and disable bet input
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Successful in 25s
CI / prettier (pull_request) Successful in 26s
CI / Checkstyle Main (pull_request) Successful in 41s
CI / test-build (pull_request) Successful in 42s
2025-04-02 11:38:14 +02: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
4a7c54eab8
style: format code for consistency and readability
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 40s
CI / Checkstyle Main (pull_request) Successful in 1m28s
2025-04-02 10:26:11 +02:00
e983b21e07
feat(blackjack): refresh user balance on game state change 2025-04-02 10:25:43 +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
d400986c34
refactor(blackjack): update import paths for modules 2025-04-02 10:12:29 +02:00
5d803e4b8b
feat(landing): add NavbarComponent to landing page component 2025-04-02 10:12:29 +02:00
6508a233b2
style(game-controls): fix formatting in constructor method 2025-04-02 10:12:29 +02:00
889863aad6
refactor(game-controls): update import paths for consistency 2025-04-02 10:12:29 +02:00
ba854be5db
style: fix formatting in constructor definitions 2025-04-02 10:12:29 +02:00
1d9eec4546
refactor(blackjack): update import paths for components 2025-04-02 10:12:29 +02:00
56c63d48f6
style(tsconfig): update path mappings to array syntax 2025-04-02 10:12:29 +02:00
db3d2e7b82
style(tsconfig): fix path configuration formatting 2025-04-02 10:12:29 +02:00
2a11675fb6
style: format constructor style in components 2025-04-02 10:12:28 +02:00
2405c00f49
refactor: update imports to use absolute paths 2025-04-02 10:12:28 +02:00
b4caf70ffe
refactor: update import paths for better readability 2025-04-02 10:12:28 +02:00
defe26d0c1
refactor(blackjack): move GameState to feature folder 2025-04-02 10:12:28 +02:00
2d8b137e69
style: format code and add missing newlines 2025-04-02 10:12:28 +02:00
4b569157aa
feat: add game state enum and refactor game components 2025-04-02 10:12:28 +02:00
349e4ce1ec
refactor(blackjack): remove unnecessary comments and clean code 2025-04-02 10:12:28 +02:00
deac128935
style(blackjack): format code for better readability 2025-04-02 10:12:28 +02:00
acdbea5a99
feat(blackjack): add action indicators and loading states 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
4e8530c861 Merge pull request 'refactor: refactor state logic' (!106) from refactor/state-logic into main
All checks were successful
Release / Release (push) Successful in 49s
Reviewed-on: #106
2025-03-27 17:25:00 +00: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
ed6071a0ba Merge pull request 'feat: add balance when player wins with blackjack in first round' (!104) from feat/blackjack-win-on-start into main
All checks were successful
Release / Release (push) Successful in 1m12s
Reviewed-on: #104
Reviewed-by: Jan K9f <jan@kjan.email>
2025-03-27 13:34:38 +00: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
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