Commit Graph

950 Commits

Author SHA1 Message Date
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 4855e937e6 Merge branch 'chore/clean-up-command-registry-imports' into 'main'
Chore: fix long imports to make code more readable

See merge request cs108-fs26/Gruppe-13!133
2026-04-16 08:34:39 +00:00
Jona Walpert 007e863878 Chore: fix long imports to make code more readable 2026-04-16 10:25:57 +02:00
Jona Walpert 56aa3c0215 Merge branch 'integration/116-change-username' into 'main'
Feat: Integrate username change flow across lobby, server and chat

See merge request cs108-fs26/Gruppe-13!132
2026-04-15 19:14:23 +00: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 893bcee9bf Merge branch 'feat/change-username-command-on-server-side' into integration/116-change-username 2026-04-15 21:09:26 +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
Lars Simon Winzer 7cba7ac1dd Merge branch 'chore/113-finalize-presentation-for-fourth-milestone' into 'main'
Finalize presentation for fourth milestone

Closes #113, #83, #82, #78, #76, #70, and #67

See merge request cs108-fs26/Gruppe-13!130
milestone-4-pres
2026-04-15 16:15:06 +02:00
Lars Simon Winzer c83a360fec Docs: Remove images containing code from slides 2026-04-15 16:11:58 +02:00
Lars Simon Winzer 2631791330 Docs: Finalize presentation with exported pdf 2026-04-15 13:54:49 +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 497820db05 Merge branch 'fix/lobby-auto-cleanup' into 'main'
Feat: Auto-cleanup lobbies when game finishes

See merge request cs108-fs26/Gruppe-13!129
2026-04-14 21:35:43 +00: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 5a53a14933 Merge branch 'feat/use-real-lobby-id' into 'main'
Feat: uses real lobby id and not hardcoded id

See merge request cs108-fs26/Gruppe-13!128
2026-04-14 21:31:12 +00:00
Jona Walpert f7f66ec5db Feat: uses real lobby id and not hardcoded id 2026-04-14 23:15:39 +02:00
Jona Walpert d85b3d21ee Merge branch 'feat/117-send-winner-with-get-gamestate-command' into 'main'
Feat: Winner is now sent to the frontend with get_gamestate

Closes #117

See merge request cs108-fs26/Gruppe-13!127
2026-04-14 21:13:57 +00:00
Jona Walpert 382383d38b Feat: Winenr is now sent to the frontend with get_gamestate 2026-04-14 23:09:48 +02:00
Jona Walpert 6f345cc51e Merge branch 'feat/ms-4-integration' into 'main'
Feat/ms 4 integration

Closes #59, #45, #52, #72, #73, #68, #71, and #36

See merge request cs108-fs26/Gruppe-13!126
milestone-4
2026-04-13 01:07:52 +00:00
Jona Walpert 585d675a8f fix: javadoc for MR 2026-04-13 03:04:54 +02:00
Jona Walpert b25f111f48 Merge branch 'feat/ms-4-integration' of https://git.scicore.unibas.ch/cs108-fs26/Gruppe-13 into feat/ms-4-integration 2026-04-13 02:58:20 +02:00
Jona Walpert d82297ac46 Fix: lobyb chat race condition 2026-04-13 02:57:07 +02:00
Julian Kropff 8c2130d0d6 Fix: checkstyle 2026-04-13 02:40:20 +02:00
Jona Walpert 52b5d5b8c2 fix: checkstyle methode length 2026-04-13 02:24:29 +02:00
Julian Kropff 1f8cf35e55 Docs: add JavaDocs 2026-04-13 02:16:26 +02:00
Julian Kropff 0bf24b9e0f Fix: Chat implementation completed 2026-04-13 01:44:18 +02:00
Julian Kropff 44785ee77f Fix: Issues with the chat UI display have been resolved 2026-04-13 01:15:21 +02:00
Julian Kropff 3053d531ee Fix: A bug with the Raise Button in the Game UI 2026-04-13 00:45:57 +02:00
Julian Kropff acb082ce5d Fic: Chat Implementation in the Lobby UI and Game UI 2026-04-13 00:35:08 +02:00
Julian Kropff 6aedb57473 Fix: Casono Rules Easy Description has been revised 2026-04-13 00:14:55 +02:00
Jona Walpert 66f0d734cf fix: fix broken UnitTest after game integration 2026-04-12 23:45:40 +02:00
Julian Kropff 6ec743f126 Fix: revision of chatContainer in the Casinomainui and Casinogameui styles 2026-04-12 22:56:40 +02:00
Julian Kropff 696f9f4fa4 Merge branch 'main' into feat/ms-4-integration 2026-04-12 22:16:58 +02:00
Julian Kropff 4557dc2f5a Fix: comment out unused input box and button 2026-04-12 21:52:40 +02:00
Julian Kropff b208f1fffd Fix: Dealer button display issue 2026-04-12 21:47:13 +02:00
Julian Kropff 6216268658 Fix: Resolve blocking issues to enable full game loop 2026-04-12 21:39:24 +02:00
Lars Simon Winzer 133a79433d Merge branch 'feat/documents-ms4' into 'main'
Add: first part of the powerpoint presentation for MS4

Closes #62, #75, and #69

See merge request cs108-fs26/Gruppe-13!125
2026-04-12 20:57:24 +02:00
Lars Simon Winzer 8fe96c5413 Merge branch 'chore/95-write-document-for-software-quality' into 'main'
Write QA concept document covering software quality

Closes #79, #80, and #95

See merge request cs108-fs26/Gruppe-13!124
2026-04-12 20:44:17 +02:00