Mathis Ginkel
67a0f237e6
Feat: Forward ChatController to all instances where its needed
...
Refs #107
2026-04-24 13:26:57 +02:00
Mathis Ginkel
2a03571cd1
Feat: Add chat box into the game screen
...
Refs #107
2026-04-24 13:26:57 +02:00
Mathis Ginkel
7eafaba65a
Feat: Add chat box into game ui
2026-04-24 13:26:57 +02:00
Mathis Ginkel
69fc00a3b2
Feat: Add field ChatController to LobbyButtonGridManager
2026-04-24 13:26:57 +02:00
Jona Walpert
ca65655443
Merge branch 'refactor/121-duplicate-check-lobby-code' into 'main'
...
Refactor/121 duplicate check lobby code
See merge request cs108-fs26/Gruppe-13!146
2026-04-24 11:26:08 +00:00
Jona Walpert
b9e45142c2
Refactor: changed duplicate lobyb existence checks to the new preexecution check
2026-04-23 15:17:30 +02:00
Jona Walpert
16c91c6aae
Feat: Add lobby check to repalce duplicate code
2026-04-23 15:16:45 +02:00
Jona Walpert
ea5f6a1083
Fix: Readd propagation of server assigned username. Login suername changed to optional instead of required
2026-04-23 14:46:24 +02:00
Jona Walpert
95fc53ec61
Fix: Wire correct controllers to fxml files
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-22 18:29:54 +02:00
Jona Walpert
989dc95cef
Fix: Final code restoration and import cleanup
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-22 18:19:21 +02:00
Jona Walpert
2c343c72b3
Merge remote-tracking branch 'origin/main' into chore/122-fix-long-file-imports
2026-04-22 18:07:49 +02:00
Jona Walpert
ffbfd2dee4
Fix: Correct fxml imports and restore branch state"
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-22 17:51:35 +02:00
Jona Walpert
5b37dffa4c
Revert "Merge branch 'chore/122-fix-long-file-imports' into 'main'"
...
This reverts commit 838ada39d5 , reversing
changes made to 028c3adb0d .
2026-04-22 17:39:13 +02:00
Jona Walpert
4e675677c0
Chore: fix long line class paths on server side by using imports
...
Refs #122
2026-04-22 14:20:38 +02:00
Jona Walpert
a629136fcb
Chore: fix long line class paths on client side by using imports
...
Refs #122
2026-04-22 14:19:53 +02:00
Jona Walpert
30067bd69b
Chore: fix long line class paths in fxml files by using imports
...
Refs #122
2026-04-22 14:18:50 +02:00
Jona Walpert
19b555fb47
Chore: Remove unused import from lobby ui code
2026-04-21 20:48:03 +02:00
Jona Walpert
15c998d549
Feat: Delete window header and white background. Add mouse dragging ability to Highscore popup
2026-04-21 20:31:52 +02:00
Jona Walpert
062e66cdf9
Feat: Add highscore popup UI and lobby display
...
Highscore button in GameUI replaces "Info" Button wich was unused
(Issue #110 )
2026-04-21 20:13:13 +02:00
Jona Walpert
5e79b45d90
Feat: Add highscore client protocol integration (Issue #110 )
2026-04-21 17:58:49 +02:00
Jona Walpert
cc7f8a8ef3
Feat: Add GET_HIGHSCORES and CLEAR_HIGHSCORES server commands (Issue #110 )
2026-04-21 17:42:38 +02:00
Julian Kropff
ab2adbf311
Fix: resolve checkstyle magic number and apply spotless formatting
2026-04-19 20:20:57 +02:00
Julian Kropff
8099228d4f
Test: improve GameEngine tests and add testPreflopEndsAfterOneActionPerActivePlayer and
...
testPreflopCountsOnlyNonFoldedPlayersForProgress
Refs #118
2026-04-19 20:11:21 +02:00
Julian Kropff
ac83d63ea1
Fix: align RoundManager with Round logic fixes
...
Refs #118
2026-04-19 20:02:43 +02:00
Julian Kropff
3443b5e8f3
Fix: align TaskbarController with Round logic fixes
...
Refs #118
2026-04-19 20:02:02 +02:00
Julian Kropff
ad7086e5a5
Fix: implement folding in GameController
...
Refs #118
2026-04-19 19:38:37 +02:00
Julian Kropff
e39cbb4357
Fix: adjust GameState logic
...
Refs #118
2026-04-19 19:35:57 +02:00
Julian Kropff
238a156d91
Fix: round transition logic in RoundManager
...
Refs #118
2026-04-19 19:28:13 +02:00
Julian Kropff
621843167e
Fix: Improve handleAction logic in GameEngine
...
Refs #118
2026-04-19 19:21:44 +02:00
Julian Kropff
215e7e2cae
Fix: Improved validation for betting, calling, raising and folding in TaskbarController.
...
Prevents incorrect user input during gameplay.
Refs #118
2026-04-19 19:19:11 +02:00
Julian Kropff
03daf9c3b8
Fix: updateTaskbar in CasinoGameController
...
Refs #118
2026-04-19 18:51:25 +02:00
Julian Kropff
d23a00e148
Fix: disable context-dependent buttons in taskbar
2026-04-16 21:18:42 +02:00
JK
a5f0735a08
Merge branch 'main' into fix/game-turn-and-action-bugs
2026-04-16 13:41:46 +02:00
Jona Walpert
007e863878
Chore: fix long imports to make code more readable
2026-04-16 10:25:57 +02:00
Jona Walpert
417af2e8f7
Merge branch 'feat/116-change-username-in-lobby' into integration/116-change-username
2026-04-15 21:09:49 +02:00
Jona Walpert
6d1b467116
Fix: Sent chat messages with current username at send time
2026-04-15 21:06:13 +02:00
Jona Walpert
4687566816
Feat: Added client-side USERNAME_CHANGED event handling with whisper migration
2026-04-15 21:06:05 +02:00
Jona Walpert
d27a07f3e8
Fix: Canonicalized outgoing chat sender name from authenticated session user
2026-04-15 21:05:40 +02:00
Jona Walpert
b86f18a11c
Feat: Added in-game player-id rename propagation for active games
2026-04-15 21:05:25 +02:00
Jona Walpert
7ff274269e
Feat: Added lobby-level player rename handling and mapping synchronization
2026-04-15 21:04:57 +02:00
Jona Walpert
ec916aa98c
Fix: Allowed no-op username changes when new name equals current name
2026-04-15 21:04:38 +02:00
Jona Walpert
190b30672a
Feat: Added CHANGE_USERNAME server command, registration and documentation
2026-04-15 20:49:29 +02:00
Jona Walpert
11be6e2b9b
Feat: Wired lobby controller login flow to support in-session username changes
2026-04-15 20:43:15 +02:00
Jona Walpert
a8599cfb4c
Feat: Added CHANGE_USERNAME request support in LobbyClient
2026-04-15 20:42:50 +02:00
Jona Walpert
08b9f652be
Feat: Added runtime shared-username update helper in client bootstrap
2026-04-15 20:42:28 +02:00
Jona Walpert
3252c7e534
Feat: Enabled username input section in lobby UI
2026-04-15 20:41:31 +02:00
Jona Walpert
181f538038
fix: disable post-game buttons
...
Disable action buttons when game reaches FINISHED phase in UI
2026-04-15 00:11:23 +02:00
Jona Walpert
88c9431bf0
Feat: Auto-cleanup lobbies when game finishes
...
- Add countNonFoldedPlayers() to GameState for fold-only victory detection
- Auto-transition to FINISHED phase when betting ends
- Clean up lobby (remove players, reset gameController) when game finishes
- Lobby now switches from RUNNING to CREATED and disappears immediately
Fixes: lobby not disappearing after game ends
2026-04-14 23:33:01 +02:00
Jona Walpert
f7f66ec5db
Feat: uses real lobby id and not hardcoded id
2026-04-14 23:15:39 +02:00
Jona Walpert
382383d38b
Feat: Winenr is now sent to the frontend with get_gamestate
2026-04-14 23:09:48 +02:00