Commit Graph

599 Commits

Author SHA1 Message Date
Jona Walpert 6219c2d660 Feat: Add get_Lobby_Status command on server side 2026-04-11 20:48:58 +02:00
Jona Walpert a930bd94b5 Feat: Add getlobbbystatus command 2026-04-11 20:31:25 +02:00
Jona Walpert 66ee791342 Merge branch 'feat/97-add-joinlobby-command-on-server-side' into 'main'
Feat: Add addPlayer command on sever side

Closes #97

See merge request cs108-fs26/Gruppe-13!102
2026-04-11 17:49:56 +00:00
Jona Walpert 240bba9bf5 Style: apply Spotless for Serverapp 2026-04-11 19:46:48 +02:00
Jona Walpert 15d1ea4edd Add: Register JoinLobby command 2026-04-11 19:45:55 +02:00
Jona Walpert 3badca0a01 Merge branch 'feat/97-add-joinlobby-command-on-server-side' of https://git.scicore.unibas.ch/cs108-fs26/Gruppe-13 into feat/97-add-joinlobby-command-on-server-side 2026-04-11 19:42:09 +02:00
Jona Walpert 203004fc42 Add: register JoinLobby command 2026-04-11 19:31:33 +02:00
Jona Walpert de0d0f93f8 Docs: Applied Spotless to JoinLobby command 2026-04-11 19:30:54 +02:00
Jona Walpert 7788bbc5d3 Style: Spotless apllied to JoinLobby command 2026-04-11 19:28:17 +02:00
Jona Walpert 2c6ecdc0f9 Docs: Add javadoc for JoinLobby command 2026-04-11 19:20:04 +02:00
Jona Walpert 73dd00f37d Feat: Add JoinLobby Command to server side
This command adds the possibility to join a created lobby
2026-04-11 18:29:21 +02:00
Jona Walpert f512e6c422 Merge branch 'feat/73-support-for-multiple-lobbies' into feat/97-add-joinlobby-command-on-server-side 2026-04-11 18:15:32 +02:00
Jona Walpert 2ab27ac3ed Feat: Add lobby class and Manager with conenction to Game engine. The gameengine will be satrte when 4 players joined the lobby. This is made possible by the callback-driven-Listener
Refs #73
2026-04-11 17:41:45 +02:00
Jona Walpert e655530760 Feat: Add addPlayer command on sever side
Rafs #92
2026-04-11 16:48:58 +02:00
Jona Walpert ca4283bbe7 Feat: Add createLobby command on server side
Refs #93
2026-04-11 16:38:57 +02:00
Julian Kropff 3c7773e7fb Fix: checkstyle violations 2026-04-11 16:34:24 +02:00
Julian Kropff 406567d375 Fix: Integration of chatbox.fxml into Casinogameui 2026-04-11 16:29:07 +02:00
Julian Kropff 30dcd8f4ab Merge branch 'main' into feat/game-ui
# Conflicts:
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/network/GameClient.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/gameui/CasinoGameUI.java
#	src/main/resources/ui-structure/Casinogameui.fxml
2026-04-11 15:16:46 +02:00
Mathis Ginkel 9df3042978 Style: fix line breaks in UsernameAvailability
Refs #88
2026-04-11 14:57:23 +02:00
Mathis Ginkel 69333ede7a Fix: change visibility of enum UsernameAvailability
Refs #88
2026-04-11 14:48:46 +02:00
Julian Kropff cdb6d0c6b0 Fix: revert wrongfully deleted line breaks
Refs #88
2026-04-11 14:43:48 +02:00
Mathis Ginkel a65341b648 Style: Manually revert changes made to SuccessResponse 2026-04-11 14:37:13 +02:00
Julian Kropff b4b2e3b067 Fix: Resolving Git Merge Conflicts and Checkstyle
Refs #88
2026-04-11 14:01:21 +02:00
Julian Kropff beeba04a2c Merge branch 'feat/client-chat' into chore/ui-checkstyle-fixes
# 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/CoreClient.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/ChatViewController.java
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/lobbyui/LobbyButtonGridManager.java
#	src/main/resources/ui-structure/components/Chatbox.fxml
2026-04-11 12:56:01 +02:00
Julian Kropff edb98c8d21 Merge branch 'feat/client-communication' into chore/ui-checkstyle-fixes
# Conflicts:
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/gameui/CasinoGameUI.java
2026-04-11 12:20:27 +02:00
Mathis Ginkel 590a9aa658 Style: Manually revert changes made to UsernameAvailability enum 2026-04-11 11:56:06 +02:00
Mathis Ginkel 66d3826509 Docs: Delete outdated network protocol document 2026-04-11 11:16:21 +02:00
Julian Kropff 2e705185f4 Fix: checkstyle 2026-04-11 08:33:02 +02:00
Mathis Ginkel 9c09927d09 Docs: Adding Server Commands for Client Chat to the protocol document manually reverting changes 2026-04-10 23:25:05 +02:00
Mathis Ginkel 97e5a55042 Style: Apply Spotless 2026-04-10 22:43:23 +02:00
Julian Kropff f6dda36c8d Merge branch 'main' into feat/game-ui 2026-04-10 21:05:53 +02:00
Julian Kropff 4de90e6962 Add: PlayerStatusController class -> player status (name, chips, dealer, fold state)
Refs #52
2026-04-10 20:59:07 +02:00
Julian Kropff 284ff2d043 Refactor: improve TaskbarController class -> Action system (fold/call/raise) implemented
Refs #52
2026-04-10 20:52:21 +02:00
Julian Kropff c02680143f Refactor: improve CasinoGameController class -> create UI layout for poker table
Refs #52
2026-04-10 20:46:50 +02:00
Julian Kropff cb7c284314 Fix: small style fixes 2026-04-10 20:41:12 +02:00
Julian Kropff a2d176f13c Refactor: improve CasinoGameUI structure
Refs #52
2026-04-10 20:34:49 +02:00
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