Commit Graph

747 Commits

Author SHA1 Message Date
jk a5427a232f Merge branch 'main' into feat/game-ui
# Conflicts:
#	src/main/java/ch/unibas/dmi/dbis/cs108/casono/client/ui/gameui/CasinoGameUI.java
2026-04-09 14:37:59 +02:00
Lars Simon Winzer 2350ddf1c4 Docs: Add examples to copy n' paste exmaple and all existing documented commands 2026-04-09 14:34:32 +02:00
Lars Simon Winzer 62bc75b46b Docs: Write documentation for already existing commands and pre-execution checks 2026-04-09 14:21:18 +02:00
Lars Simon Winzer 8bcd4dd033 Docs: Update copy n' paste command section with enum example, and error response 2026-04-09 14:09:24 +02:00
Julian Kropff e374be4e31 Add: dealer chip images 2026-04-09 14:07:33 +02:00
Julian Kropff d939b0da67 Add: background card image 2026-04-09 13:57:24 +02:00
Lars Simon Winzer 0afa1d65e9 Docs: Link to protocol document from section README 2026-04-09 13:39:26 +02:00
Lars Simon Winzer 259173a809 Docs: Initial protocol document outlining execution pipeline with possible error responses 2026-04-09 13:39:07 +02:00
Julian Kropff ea987243b0 Merge branch 'feat/client-communication' into feat/game-ui 2026-04-09 13:35:55 +02:00
Jona Walpert 8a6c573bde Docs: 9.4 Small Teammeating 2026-04-09 12:15:19 +02:00
Jona Walpert 139626520b Docs: game rules description added for MS-4 2026-04-09 12:08:51 +02:00
Julian Kropff 7ca432fae6 Merge branch 'feat/gameui' into 'main'
Feat/gameui

See merge request cs108-fs26/Gruppe-13!88
2026-04-09 08:57:23 +00:00
Julian Kropff a99cf16c7e Fix: checkstyle issues 2026-04-09 10:53:49 +02:00
Julian Kropff e5f814b853 Merge branch 'main' into feat/gameui 2026-04-09 10:47:28 +02:00
Jona Walpert b205b25b48 Feat: Adds functionality to periodically refresh lobbies to update lobby GUI screen 2026-04-09 10:43:25 +02:00
Jona Walpert df31c307fe Fix: Comment out faulty Unit Test 2026-04-09 10:42:45 +02:00
Lars Simon Winzer 5abb46b915 Merge branch 'feat/58-extract-responsedispatcher-field-into-commandhandler' into 'main'
Extract ResponseDispatcher field into constructor of CommandHandler

Closes #58

See merge request cs108-fs26/Gruppe-13!87
2026-04-08 19:16:15 +02:00
Lars Simon Winzer 61e77be35c Docs: Write JavaDoc for newly added constructor 2026-04-08 19:13:10 +02:00
Lars Simon Winzer 01934b76f3 Refactor: Existing handler to using constructor of superclass 2026-04-08 19:12:36 +02:00
Lars Simon Winzer 0ddb65e870 Add: ResponseDispatcher field to CommandHandler 2026-04-08 19:11:49 +02:00
Lars Simon Winzer 795830cf02 Merge branch 'feat/57-pre-execution-checks-for-commandhandler' into 'main'
Add pre-execution checks with CommandHandlerExecutor to CommandHandler

Closes #57

See merge request cs108-fs26/Gruppe-13!86
2026-04-08 18:58:20 +02:00
Lars Simon Winzer 3de20e3d6c Docs: Remove unnecessary generic type parameter in JavaDoc from execute method in CommandHandlerExecutor 2026-04-08 18:54:12 +02:00
Lars Simon Winzer e23a9817e2 Refactor: Rename file to match class name 2026-04-08 18:31:44 +02:00
Lars Simon Winzer 1b3ba0000a Refactor: Correct naming for UserLoggedInCheck 2026-04-08 18:27:10 +02:00
Lars Simon Winzer 6ee2c4f901 Docs: Add to the command deep-dive by adding a section for the HandlerCheck and CommandHandlerExecutor, including diagrams 2026-04-08 18:19:55 +02:00
Lars Simon Winzer eb2a679868 Docs: Modify guide on implementing a command by mentioning pre-execution checks 2026-04-08 18:18:17 +02:00
Lars Simon Winzer 15062df711 Docs: Write JavaDoc for added or modified components 2026-04-08 18:06:55 +02:00
Lars Simon Winzer ffca8e5e29 Add: UserLoggedinCheck to validate that Session has User associated with it 2026-04-08 17:45:36 +02:00
Lars Simon Winzer 77d9ded3d3 Refactor: Change CommandHandler implementations to extend the abstract class 2026-04-08 17:24:26 +02:00
Lars Simon Winzer ebb2e267bf Add: Implement CommandHandlerExecutor for evaluation of pre-execution checks in CommandRouter 2026-04-08 17:23:38 +02:00
Lars Simon Winzer a62da1235d Refactor: Move CommandRouter dependency from SessionManager to NetworkManager 2026-04-08 17:10:20 +02:00
Lars Simon Winzer cf09a70fb8 Add: Change CommandHandler to abstract class and add support for pre-execution checks 2026-04-08 16:49:47 +02:00
Lars Simon Winzer a747c2de56 Add: HandlerCheck functional interface for pre-execution checks 2026-04-08 16:47:40 +02:00
Jona Walpert f3ecbd12f5 Feat: Add username text field to main Lobby 2026-04-08 13:34:26 +02:00
Jona Walpert 5d4d2655ef Add: Supply gameUI with client service at game startup 2026-04-08 13:33:31 +02:00
Jona Walpert d855f2d568 Feat: add offline mode to prevent errors when trying to send requests to not connected server 2026-04-08 13:29:39 +02:00
Jona Walpert ca782b389e Docs: Translate Javadoc and comments to English 2026-04-08 13:26:36 +02:00
Jona Walpert 04bf7ba545 Refactor: move login function from coreClient to LobbyClient 2026-04-08 13:22:24 +02:00
Mathis Ginkel 509aa71d9f Add: Implement Commands for Chat Protocol 2026-04-07 22:15:23 +02:00
Mathis Ginkel d1d2fb30e8 Fix: small changes to ChatUI 2026-04-07 22:11:20 +02:00
Jona Walpert aca61cbd52 Add: first (non functioning) modified version of lobby button controlelr with abckend conenction 2026-04-07 22:11:20 +02:00
Julian Kropff 73756b7d24 Add: documentation for client network architecture 2026-04-07 22:11:20 +02:00
Julian Kropff 60ed1ced91 Add: initial client structure for game and network 2026-04-07 22:11:20 +02:00
Mathis Ginkel eda51f8ac5 Add: CoreClient and ChatClient 2026-04-07 22:11:20 +02:00
Julian Kropff ce71992e17 Add: Client Network Architecture Documentation 2026-04-07 22:11:20 +02:00
Mathis Ginkel a9dcd79b38 Add: client chat architecture for lobby and global chat 2026-04-07 22:11:20 +02:00
Mathis Ginkel 79831b046c Fix: small changes in ClientService 2026-04-07 22:11:20 +02:00
Mathis Ginkel 61e54f282e Resolve Conflicts 2026-04-07 22:11:20 +02:00
Mathis Ginkel 8fb2657cdd Merge remote-tracking branch 'origin/main' 2026-04-07 22:10:52 +02:00
Lars Simon Winzer b60374f7e5 Merge branch 'chore/56-javadoc-for-login-command-components' into 'main'
Write JavaDoc for components related to LOGIN command

Closes #56

See merge request cs108-fs26/Gruppe-13!85
2026-04-07 20:15:46 +02:00