Commit Graph

855 Commits

Author SHA1 Message Date
Julian Kropff 644c3e93fc Refactor: improve Card class
Refs #52
2026-04-10 20:31:15 +02:00
Julian Kropff d0ab49ec57 Add: GameService class
Refs #52
2026-04-10 20:29:26 +02:00
Julian Kropff 8deb647e94 Refactor: improve GameState class
Refs #52
2026-04-10 20:25:54 +02:00
Julian Kropff 3ea2971ab5 Refactor: improve Player class
Refs #52
2026-04-10 20:23:42 +02:00
Julian Kropff d10e9a72fd Add: PlayerId class
Refs #52
2026-04-10 20:20:45 +02:00
Julian Kropff ea41a3c75a Add: PlayerState class
Refs #52
2026-04-10 20:18:20 +02:00
Julian Kropff ce583062ba Refactor: improve GameClient structure
Refs #52
2026-04-10 20:16:08 +02:00
Julian Kropff 040ff7cf52 Fix: correct CasinoGame UI
Refs #52
2026-04-10 20:12:14 +02:00
Julian Kropff 616f609fae Fix: update Casinogame UI styles
Refs #52
2026-04-10 20:09:04 +02:00
Julian Kropff 4895af9030 Fix: correct Taskbar UI
Refs #52
2026-04-10 20:05:49 +02:00
Julian Kropff db3f34fddf Fix: correct Player status UI layout
Refs #52
2026-04-10 20:02:33 +02:00
Jona Walpert 999dd9beb9 Style: Apply Spotless 2026-04-10 14:59:27 +02:00
Jona Walpert 3be2d3d9f4 Fix: Chekstyle naming convention 2026-04-10 14:58:00 +02:00
Jona Walpert c094b224c3 Feat: Auto-assign playerN and add server-side rename support
Make username mutable, assign playerN for anonymous logins, and add atomic changeUsername in UserRegistry.

Refs #68
2026-04-10 14:20:21 +02:00
Jona Walpert 3807059229 Feat: accept optional client username and forward to ClientApp
Pass host/port and optional username via system properties for the UI.

Refs #68
2026-04-10 14:12:24 +02:00
Mathis Ginkel 31d3947175 Add: CSS-Style changes to the ChatBox 2026-04-10 13:21:34 +02:00
Lars Simon Winzer 3ee1e63577 Merge branch 'fix/81-incorrect-visibility-of-throwingparser' into 'main'
Change visibility of ThrowingParser from package-private to public

Closes #81

See merge request cs108-fs26/Gruppe-13!94
2026-04-10 11:30:22 +02:00
Lars Simon Winzer 8f4ce1db80 Fix: Change visibility of ThrowingParser from package-private to public 2026-04-10 11:25:09 +02:00
Lars Simon Winzer 066d4ee8c3 Merge branch 'chore/66-milestone-achievements-template-and-contributing' into 'main'
Add milestone achievements template and update contributing guidelines

Closes #66

See merge request cs108-fs26/Gruppe-13!93
2026-04-10 10:57:40 +02:00
Lars Simon Winzer 5ed455c20d Refactor: Cut header length 2026-04-10 10:48:52 +02:00
Lars Simon Winzer 938ef71c2a Revert "Refactor: Swap title and category header and cut header length"
This reverts commit 09e8822bef.
2026-04-10 10:35:25 +02:00
Lars Simon Winzer 09e8822bef Refactor: Swap title and category header and cut header length 2026-04-10 10:34:37 +02:00
Lars Simon Winzer 35297775dc Add: Milestone Achievements section to contribution guidelines 2026-04-10 10:28:10 +02:00
Lars Simon Winzer 77dad54c84 Add: Milestone achievement gitlab issue template 2026-04-10 10:14:03 +02:00
Jona Walpert 59cd5bca88 Docs: Add teammeating document with new division of tasks for milestone 4 2026-04-10 10:07:29 +02:00
Mathis Ginkel 1914aa2c7f Merge branch 'main' into 'feat/client-chat'
# Conflicts:
#   src/main/java/ch/unibas/dmi/dbis/cs108/casono/server/ServerApp.java
2026-04-09 19:34:38 +00:00
Mathis Ginkel 13df8db33e Docs: Insert JavaDocs 2026-04-09 21:25:46 +02:00
Mathis Ginkel 566c9375ab Style: Apply Spotless 2026-04-09 20:36:18 +02:00
jk a43361d606 Fix: Brightened the images 2026-04-09 19:21:07 +02:00
Lars Simon Winzer 983d31c963 Merge branch 'fix/64-execute-method-of-commandhandler-is-not-abstract' into 'main'
Change execute method in CommandHandler to be abstract

Closes #64

See merge request cs108-fs26/Gruppe-13!91
2026-04-09 19:17:28 +02:00
Lars Simon Winzer 4071be3341 Fix: Change execute method in CommandHandler to be abstract 2026-04-09 19:14:15 +02:00
Lars Simon Winzer 74497a1e8e Merge branch 'feat/63-add-serverside-list-users-command' into 'main'
Add serverside LIST_USERS command

Closes #63

See merge request cs108-fs26/Gruppe-13!90
2026-04-09 19:13:17 +02:00
Lars Simon Winzer afef96ce21 Docs: Write JavaDoc for newly added components 2026-04-09 19:07:08 +02:00
Lars Simon Winzer bb1e026a1e Docs: Update protocol document for LIST_USERS command 2026-04-09 18:59:18 +02:00
Lars Simon Winzer a96c050c55 Fix: ListUsersResponse to properly encapsulate user parameters in a block 2026-04-09 18:53:26 +02:00
Lars Simon Winzer a164f87379 Fix: Correctly retrieve user ID value in ListUsersResponse 2026-04-09 18:48:24 +02:00
Lars Simon Winzer f59f5c5930 Add: Registration of parser and handler to composition root 2026-04-09 18:46:45 +02:00
Lars Simon Winzer 627c38da6f Add: ListUsersHandler to handle user listing command 2026-04-09 18:46:20 +02:00
Lars Simon Winzer 239dfa714e Add: ListUsersResponse to convert collection of users to response body 2026-04-09 18:30:14 +02:00
Lars Simon Winzer 40d623fbb7 Add: ListUsersParser to parse request 2026-04-09 18:19:10 +02:00
Lars Simon Winzer 1d500e6973 Add: ListUsersRequest to request collection of active users 2026-04-09 18:18:01 +02:00
Mathis Ginkel 84e68d8b20 Merge remote-tracking branch 'origin/feat/client-chat' into feat/client-chat
# Conflicts:
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/ChatController.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/ChatModel.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/Message.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/ChatClient.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/ClientService.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/GameClient.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/LobbyClient.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/chatui/ChatBoxController.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/chatui/ChatViewController.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/server/app/commands/get_next_message/GetNextMessageHandler.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/server/app/commands/get_next_message/GetNextMessageResponse.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/server/app/commands/send_message/SendMessageParser.java
#	src/main/resources/ui-structure/Casinogameui.fxml
#	src/main/resources/ui-structure/components/chatui/chatbox.fxml
#	src/main/resources/ui-structure/components/chatui/chattab.fxml
#	src/main/resources/ui-structure/gameuicomponents/chatui/chatbox.fxml
#	src/test/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/ChatApplication.java
#	src/test/java/ch/unibas/dmi/dbis/cs108/casono/client/chat/ChatTest.java
2026-04-09 18:13:29 +02:00
Mathis Ginkel e8401a976a Add: First implementation of Button, to create Whisper Chat 2026-04-09 18:04:57 +02:00
Mathis Ginkel c0c9225d42 Fix: Parsing of Server Responses for Client Chat 2026-04-09 18:04:57 +02:00
Mathis Ginkel 4e7b0ab67a Add: Implement Commands for Chat Protocol 2026-04-09 18:04:57 +02:00
Mathis Ginkel 39f60c9113 Fix: small changes to ChatUI 2026-04-09 18:04:57 +02:00
Jona Walpert 847d816935 Add: first (non functioning) modified version of lobby button controlelr with abckend conenction 2026-04-09 18:04:57 +02:00
Julian Kropff c8a9393fb6 Add: documentation for client network architecture 2026-04-09 18:04:57 +02:00
Julian Kropff 79bd33ad75 Add: initial client structure for game and network 2026-04-09 18:04:57 +02:00
Mathis Ginkel f5138503cb Add: CoreClient and ChatClient 2026-04-09 18:04:57 +02:00