Commit Graph

1050 Commits

Author SHA1 Message Date
Lars Simon Winzer 885a002f6d Docs: Updated qa concept document based on external input 2026-04-12 20:41:12 +02:00
Julian Kropff fb593d48a6 Fix: loop Animation in Game-UI 2026-04-12 20:11:10 +02:00
Lars Simon Winzer 9746f52965 Docs: Finalize QA concept document with data from JaCoCo
Note: The data covered the state of the repository at 1952f720de
2026-04-12 19:44:46 +02:00
Julian Kropff 06c059ce5e Fix: fast Game UI communication fix: display the opponent 2026-04-12 19:31:30 +02:00
Lars Simon Winzer 1952f720de Merge branch 'main' into 'chore/95-write-document-for-software-quality' 2026-04-12 19:27:42 +02:00
Mathis Ginkel d7eb9701c9 Merge branch 'feat/84-whisper-chat' into 'main'
Add whisper chat option

Closes #84

See merge request cs108-fs26/Gruppe-13!123
2026-04-12 16:47:09 +00:00
Jona Walpert 0f8f1bb918 fix: checkstyle and spotless 2026-04-12 18:36:47 +02:00
Jona Walpert 9cf6b468ad fix: correctly disaply lobbei and update them in Lobyb Screen 2026-04-12 16:02:50 +02:00
Mathis Ginkel e08b75dc7a Style: Apply Spotless 2026-04-12 15:31:59 +02:00
Lars Simon Winzer 761d4b1cae Docs: Add QA concept document for software quality assurance (lacking values) 2026-04-12 15:21:00 +02:00
Jona Walpert e4f0c7efb8 fix: Treat SocketException as client disconnect in SessionReader 2026-04-12 15:16:35 +02:00
Jona Walpert f91642bade Fix: fetch lobbies on client startup 2026-04-12 15:13:33 +02:00
Jona Walpert 93b6338041 Merge branch 'feat/lobby-expiry-broadcast' into 'main'
Feat: Expiry broadcast + client event handling and robustness

See merge request cs108-fs26/Gruppe-13!122
2026-04-12 12:57:42 +00:00
Jona Walpert a66c91c67f Merge branch 'main' into feat/lobby-expiry-broadcast 2026-04-12 14:54:09 +02:00
Jona Walpert 3e1d787b69 Feat: Add findEmptyLobbiesOlderThan to find and remove stale empty lobbies 2026-04-12 14:52:30 +02:00
Jona Walpert bc36892699 Feat: Expiry broadcast + client event handling and robustness 2026-04-12 14:40:17 +02:00
Julian Kropff 120a477a55 Merge branch 'feat/game-ui-communication' into 'main'
Fix: Game UI to support server commands

See merge request cs108-fs26/Gruppe-13!121
2026-04-12 12:07:37 +00:00
Jona Walpert 5d4fe4bcfb Merge branch 'feat/lobby-status' into 'main'
Feat: Add STATUS param to GET_LOBBY_STATUS and client parsing

See merge request cs108-fs26/Gruppe-13!120
2026-04-12 11:55:57 +00:00
Jona Walpert 346a728fb9 Feat): Add STATUS param to GET_LOBBY_STATUS and client parsing 2026-04-12 13:53:23 +02:00
Jona Walpert 63fb6e4b47 Merge branch 'feat/lobby-join-logging' into 'main'
Feat/lobby join logging

See merge request cs108-fs26/Gruppe-13!119
2026-04-12 11:33:41 +00:00
Jona Walpert 9044ce3660 Fix: Allow primitive values to contain hyphens (UUIDs) in addition to digits/words/colons 2026-04-12 13:31:00 +02:00
Jona Walpert 4fa60ad9e0 Fix: Apply checkstyle fixes 2026-04-12 13:30:11 +02:00
Jona Walpert 3abc03e6e1 Fix: fix error when switching back to mainLobby when exiting gameUI 2026-04-12 13:25:59 +02:00
Jona Walpert e43732c520 Feat: Log JOIN_LOBBY requests and joins 2026-04-12 13:12:55 +02:00
Jona Walpert 1dcf628d2c Feat: Log player joins in LobbyManager 2026-04-12 13:08:57 +02:00
Julian Kropff 4e65e2dec0 Merge branch 'feat/lobby-button-styling' into 'main'
Style: update Lobby Button styles in Casino Main UI

See merge request cs108-fs26/Gruppe-13!118
2026-04-12 10:59:53 +00:00
Jona Walpert 492901a837 Merge branch 'feat/100-add-start-game-command-on-server-side' into 'main'
Feat/100 add start game command on server side

Closes #100

See merge request cs108-fs26/Gruppe-13!109
2026-04-12 10:53:44 +00:00
Julian Kropff 659ea8a744 Fix: update Lobby Button styles in Casino Main UI 2026-04-12 12:53:44 +02:00
Jona Walpert 5e653a516c Merge branch 'main' into feat/100-add-start-game-command-on-server-side 2026-04-12 12:45:24 +02:00
Jona Walpert f5ee57454d Merge branch 'feat/93-add-serverside-create-lobby-command' into 'main'
Feat: Add createLobby command on server side

Closes #93

See merge request cs108-fs26/Gruppe-13!117
2026-04-12 10:10:41 +00:00
Jona Walpert fa8bb25b03 Add: Register create_lobby command 2026-04-12 12:03:41 +02:00
Jona Walpert e6c222388b Fix: add correct parsing on client side for create_lobyb command 2026-04-12 12:03:07 +02:00
Julian Kropff 7316ec80bf Fix: cleanup CasinoGameController and fix lifecycle issues
Refs #52
2026-04-12 11:42:20 +02:00
Jona Walpert b86352a298 Merge branch 'main' into feat/93-add-serverside-create-lobby-command 2026-04-12 11:27:11 +02:00
Jona Walpert a7de101be2 Merge branch 'feat/session-dispatcher' into 'main'
Feat: Add SessionDispatcher to send responses by username

See merge request cs108-fs26/Gruppe-13!116
2026-04-12 09:23:07 +00:00
Jona Walpert a2cd59e6b9 Feat: Add SessionDispatcher to send responses by username 2026-04-12 11:20:18 +02:00
Jona Walpert 564ace38e4 Merge branch 'feat/change-username-at-start-or-in-game' into 'main'
Feat: accept optional client username and forward to ClientApp

See merge request cs108-fs26/Gruppe-13!115
2026-04-12 09:17:38 +00:00
Jona Walpert d16c348444 Fix: fix javadoc for MR 2026-04-12 11:14:30 +02:00
Julian Kropff 8f3d0ab8a9 Fix: update GameService to support server commands
Refs #52
2026-04-12 10:58:54 +02:00
Jona Walpert 77ec50e008 Merge branch 'main' into feat/change-username-at-start-or-in-game 2026-04-12 10:58:19 +02:00
Julian Kropff 869f061d86 Fix: update GameClient to support server commands
Refs #52
2026-04-12 10:58:16 +02:00
Jona Walpert 9635ee8ef9 Fix: robust response parsing and clearer errors in ClientService Detect +OK / -ERR / -ERROR, strip leading tabs, collect response lines reliably and improve exception unwrapping. 2026-04-12 10:56:22 +02:00
Jona Walpert 65a93a8c82 Feat: Reuse shared ClientService in CasinomainuiController
Make the controller use ClientApp.getSharedClientService() if available; otherwise fall back to creating a new ClientService. Add/cleanup Javadoc.
2026-04-12 10:52:55 +02:00
Jona Walpert c3e0e740ed Feat: Keep startup LOGIN connection and expose shared ClientService
Introduce ClientApp.sharedClientService, create it on startup when a username is provided, run the startup LOGIN asynchronously on that connection and keep the socket open so the UI reuses it; add Javadoc and adjust logging.
2026-04-12 10:52:22 +02:00
Jona Walpert 0ae88c9149 Fix: Parse LOGIN response id as string in LobbyClient
Parse the server ID parameter as a string and return it in LoginResult (no integer parsing).
2026-04-12 10:45:03 +02:00
Jona Walpert 0aafe13e34 Fix: Treat login id as string (UUID) in LoginResult
Change LoginResult.id from int to String and add Javadoc explaining the server returns a UUID.
BREAKING CHANGE: LoginResult.getId() now returns String (UUID).
2026-04-12 10:43:43 +02:00
Jona Walpert 4798de7499 Feat: Log assigned username and id on registration
Add INFO log in UserFactory.create to record assigned username, user UUID and session id when a new user is registered.
2026-04-12 10:42:56 +02:00
Lars Simon Winzer 3359c9bc7e Docs: Add missing diary entries to diary README 2026-04-12 10:37:00 +02:00
Jona Walpert 346a308176 Merge branch 'feat/change-username-at-start-or-in-game' of https://git.scicore.unibas.ch/cs108-fs26/Gruppe-13 into feat/change-username-at-start-or-in-game 2026-04-12 09:36:48 +02:00
Julian Kropff 8998152e8d Fix: checkstyle 2026-04-12 09:31:25 +02:00