Commit Graph

860 Commits

Author SHA1 Message Date
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
Julian Kropff ef7a83c707 Merge branch 'feat/lobby-ui-input-field-style' into 'main'
Style: Lobby UI input field

See merge request cs108-fs26/Gruppe-13!114
2026-04-12 07:18:43 +00:00
Jona Walpert d9e7c0c56d Merge branch 'main' into feat/change-username-at-start-or-in-game 2026-04-12 09:12:46 +02:00
Julian Kropff 0227145cab Fix: translations in Casino Main UI 2026-04-12 09:11:34 +02:00
Julian Kropff 755ea54381 Style: add gray-input-field class to Casino Main UI
Refs #106
2026-04-12 09:05:10 +02:00
jk c0b149cc5f Fix: add lobby ui input field style and fix translations
Refs #106
2026-04-12 09:00:41 +02:00
Jona Walpert 1669e07d3a Merge branch 'feat/105-add-fold-command-on-server-side' into 'main'
Feat/105 add fold command on server side

Closes #105

See merge request cs108-fs26/Gruppe-13!113
2026-04-11 23:21:05 +00:00
Jona Walpert d0e908774b Docs: Add documentation for fold command 2026-04-12 01:18:24 +02:00
Jona Walpert 08e02a6135 Feat: add Fold command on server side 2026-04-12 01:17:14 +02:00
Jona Walpert 6ee9c6c399 Merge branch 'feat/104-add-call-command-on-server-side' into 'main'
Feat/104 add call command on server side

Closes #104

See merge request cs108-fs26/Gruppe-13!112
2026-04-11 23:12:51 +00:00
Jona Walpert fb5399fc18 Docs: add documentation for call command 2026-04-12 01:06:41 +02:00
Jona Walpert 6d8f1787a9 Feat: add Call command to server side 2026-04-12 01:06:17 +02:00
Jona Walpert 9b4c6d8906 Merge branch 'feat/103-add-raise-command-on-server-side' into 'main'
Feat/103 add raise command on server side

Closes #103

See merge request cs108-fs26/Gruppe-13!111
2026-04-11 22:57:11 +00:00
Jona Walpert ca818d9892 Fix: Checkstyle Line length for MR Pipeline 2026-04-12 00:54:10 +02:00
Jona Walpert dac4dcfdbe Docs: Add documentation for Raise command 2026-04-12 00:47:41 +02:00
Jona Walpert 0556767d40 Feat: Add Raise command on backend side 2026-04-12 00:47:24 +02:00
Jona Walpert 5997e736cf Merge branch 'feat/102-add-bet-command-on-server-side' into 'main'
Feat/102 add bet command on server side

Closes #102

See merge request cs108-fs26/Gruppe-13!110
2026-04-11 22:37:32 +00:00
Jona Walpert a4e267cb00 Fix: add missing file for MR pipeline 2026-04-12 00:34:32 +02:00
Jona Walpert 9146d92c04 Fix: fix MR Pipeline 2026-04-12 00:27:45 +02:00
Mathis Ginkel b2adeb7a56 Feat: Add whisper chat functionality
Introduce recording of users connected to server, to show usernames as options for whisper chat.
2026-04-12 00:19:34 +02:00
Jona Walpert d77ce42795 Docs: add documentation of bet command 2026-04-12 00:11:30 +02:00
Jona Walpert f5a62c6e93 Feat: add bet command on server side 2026-04-12 00:11:11 +02:00
Jona Walpert 371e6afe5c Docs: add documentation of new start_game command 2026-04-11 23:18:22 +02:00
Jona Walpert 23debb18bc Feat: Add start_Game command to server 2026-04-11 23:17:39 +02:00
Lars Simon Winzer 3ff4491fcf Merge branch 'chore/101-remove-unused-blog-folder' into 'main'
Remove blog in documents

Closes #101

See merge request cs108-fs26/Gruppe-13!108
2026-04-11 23:09:07 +02:00
Lars Simon Winzer 31361ffb83 Docs: Remove blog folder from main readme in repository structure 2026-04-11 23:06:34 +02:00
Lars Simon Winzer 0f93bb8b85 Docs: Removed README of blog 2026-04-11 23:03:21 +02:00
Julian Kropff 4dd6732945 Docs: add Casono Manual pdf -> MS-4
Refs #75
2026-04-11 22:37:33 +02:00
Julian Kropff 3354bf7be1 Docs: add Casono Rules Easy Description pdf -> MS-4
Refs #75
2026-04-11 22:34:41 +02:00
Jona Walpert 3b8f7d42dd Merge branch 'feat/99-add-get-gamestate-command-on-server-side' into 'main'
Feat/99 add get gamestate command on server side

Closes #99

See merge request cs108-fs26/Gruppe-13!107
2026-04-11 20:08:19 +00:00
Julian Kropff a38b2562d1 Docs: add Casono Manual
Refs #75
2026-04-11 22:05:33 +02:00
Jona Walpert 54a7be074f Feat: Add get_game_state_command on server side 2026-04-11 22:04:47 +02:00
Jona Walpert 1b6e8ce6d6 Docs: add documentation for get_gamestate command 2026-04-11 22:02:09 +02:00
Julian Kropff 6e4e8f5150 Docs: revise Casono Rules Easy Description 2026-04-11 21:44:58 +02:00
Jona Walpert c7b7adaa07 Merge branch 'docs/fix-broken-javadoc-for-get-lobby-status-command' into 'main'
Docs: add get-lobby-status javadoc

Closes #96

See merge request cs108-fs26/Gruppe-13!106
2026-04-11 19:40:09 +00:00
Julian Kropff 84b889a343 Add: new images for Casono Rules Easy Description 2026-04-11 21:40:04 +02:00
Jona Walpert 25c92da522 Docs: add get-lobby-status javadoc 2026-04-11 21:36:44 +02:00
Jona Walpert 7f6a3ada29 Merge branch 'feat/94-add-get-lobby-list-command-on-server-side' into 'main'
Feat/94 add get lobby list command on server side

Closes #94

See merge request cs108-fs26/Gruppe-13!105
2026-04-11 19:29:06 +00:00
Jona Walpert 098092707c Merge branch 'main' into feat/94-add-get-lobby-list-command-on-server-side 2026-04-11 21:20:04 +02:00
Jona Walpert f467d9ebe2 Docs: Add new get_lobby_list command 2026-04-11 21:12:30 +02:00
Jona Walpert 13d03637da Add: register get_lobby_list command 2026-04-11 21:12:03 +02:00