Commit graph

401 commits

Author SHA1 Message Date
4c83419a31
Merge branch 'main' into task/CAS-50/add_rest_blackjack_logic_with_frontend_animations 2025-04-02 09:38:43 +00:00
d22c4c243f
feat(game-info): add placeholder and disable bet input 2025-04-02 11:38:14 +02:00
e9c4d4fbed
refactor(BlackJackService): simplify card dealing logic 2025-04-02 11:29:16 +02:00
3ef5530e77
feat(blackjack): add split functionality to the game 2025-04-02 11:25:03 +02:00
ff98cab6ac
Merge pull request 'feat: Create api routes for lootboxes (CAS-43)' (!110) from feat/lootboxes into main
Reviewed-on: #110
Reviewed-by: Jan K9f <jan@kjan.email>
Reviewed-by: lziemke <lea.z4@schule.bremen.de>
2025-04-02 09:18:54 +00:00
ec994616ee
Merge branch 'main' into feat/lootboxes 2025-04-02 09:15:31 +00:00
Phan Huy Tran
948240ba1e fix: fix wrong reward getting returned, refactor to service 2025-04-02 11:15:08 +02:00
Phan Huy Tran
b963595ab4 feat: manage balance 2025-04-02 11:04:20 +02:00
626e28ab65
Merge pull request 'feat: add stand and get game features to blackjack game with animations' (!105) from task/CAS-50/add_rest_blackjack_logic_with_frontend_animations into main
Reviewed-on: #105
Reviewed-by: Jan K9f <jan@kjan.email>
2025-04-02 08:28:43 +00:00
4a7c54eab8
style: format code for consistency and readability 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
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 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
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 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
4e8530c861 Merge pull request 'refactor: refactor state logic' (!106) from refactor/state-logic into main
Reviewed-on: #106
2025-03-27 17:25:00 +00:00
Phan Huy Tran
cb6c1550b7 refactor: refactor state logic 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
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 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
4b4de32e1d Merge pull request 'feat(blackjack): add player lost state in game logic (CAS-51)' (!102) from update-state-on-hit into main
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 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
36f2d80d5c Merge pull request 'feat(blackjack): add hit endpoint for blackjack game (CAS-51)' (!97) from add-hitting into main
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 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) 2025-03-27 12:01:53 +00:00
bbb991a25b Update README.md 2025-03-27 11:59:49 +00:00