Commit Graph

1031 Commits

Author SHA1 Message Date
Lars Simon Winzer fa0ac684f1 Add: LogoutParser for parsing logout requests 2026-04-07 12:31:48 +02:00
Lars Simon Winzer 4ff28932b4 Add: LogoutRequest for handling logout commands 2026-04-07 12:30:40 +02:00
Lars Simon Winzer fee71a8a2c Merge branch 'feat/40-add-serverside-login-command' into 'main'
Add serverside LOGIN-command

Closes #40

See merge request cs108-fs26/Gruppe-13!81
2026-04-07 12:23:33 +02:00
Lars Simon Winzer 708f6c5773 Add: Integrate LOGIN command in composition root 2026-04-07 12:12:33 +02:00
Lars Simon Winzer be173f2847 Add: LoginHandler to execute and respond to LoginRequest 2026-04-07 12:10:45 +02:00
Lars Simon Winzer 7eda64b5c3 Add: LoginResponse containing assigned username and UserId 2026-04-07 11:58:43 +02:00
Lars Simon Winzer 8580a2803c Add: LoginParser to check for required parameter and construct LoginRequest 2026-04-07 11:54:54 +02:00
Lars Simon Winzer 68a69b865e Add: LoginRequest storing requested username for login 2026-04-07 11:51:39 +02:00
Lars Simon Winzer 60e15e12fa Merge branch 'chore/53-add-tex-to-gitignore' into 'main'
Add tex to gitignore

Closes #53

See merge request cs108-fs26/Gruppe-13!80
2026-04-05 15:04:33 +02:00
Lars Simon Winzer d757c2a317 Add: Move gradle.properties to gradle section 2026-04-05 15:01:07 +02:00
Lars Simon Winzer 2152560dea Add: Move gradle to own section 2026-04-05 14:58:45 +02:00
Lars Simon Winzer 101e21d568 Add: TeX to gitignore 2026-04-05 14:58:29 +02:00
Julian Kropff 6693d57688 Merge remote-tracking branch 'origin/main' into feat/gameui 2026-04-05 13:36:22 +02:00
Mathis Ginkel 55a6d4beed Merge remote-tracking branch 'origin/main' 2026-04-05 13:12:39 +02:00
Lars Simon Winzer aca8924f15 Merge branch 'chore/50-change-used-markdown-embed-technique' into 'main'
Replace SVG with PNG graphics in documentation

Closes #50

See merge request cs108-fs26/Gruppe-13!79
2026-04-05 12:48:42 +02:00
Lars Simon Winzer d3009a422c Docs: Replace SVG with PNG graphic 2026-04-05 12:43:59 +02:00
Julian Kropff 5304128094 Merge branch 'feat/game-engine' into 'main'
Feat/Game Engine

See merge request cs108-fs26/Gruppe-13!77
2026-04-05 09:26:12 +00:00
Julian Kropff 828e2f3131 Fix: checkstyle issues 2026-04-05 11:21:27 +02:00
Julian Kropff bf7ac4fc34 Fix: formatting and checkstyle issues 2026-04-05 11:15:26 +02:00
Lars Simon Winzer a9bf0635a2 Merge branch 'main' into 'chore/50-change-used-markdown-embed-technique' 2026-04-05 11:14:06 +02:00
Lars Simon Winzer ae3db3f829 Merge branch 'feat/51-export-plantuml-to-png-script' into 'main'
Add script to export plantuml diagram to png format

Closes #51

See merge request cs108-fs26/Gruppe-13!78
2026-04-05 11:09:46 +02:00
Lars Simon Winzer 25837fc869 Add: VSCode task for plantuml to png export script 2026-04-05 11:04:23 +02:00
Julian Kropff d4e69d26d7 Merge remote-tracking branch 'origin/main' into feat/game-engine 2026-04-05 11:04:19 +02:00
Lars Simon Winzer 6456e86f07 Add: Script to export plantuml diagrams to pngs 2026-04-05 11:03:12 +02:00
Lars Simon Winzer b043127ced Add: Add filename suffix to existing plantuml to svg export script 2026-04-05 11:02:29 +02:00
Julian Kropff f7dc3d1a8e Fix: Typo in GameController unit tests for game engine 2026-04-04 23:50:58 +02:00
Julian Kropff 585a78fbcc Add: GameController unit tests for game engine 2026-04-04 23:38:45 +02:00
Julian Kropff 769105b87d Add: rule system for game engine 2026-04-04 23:38:19 +02:00
Julian Kropff a20ba7cef5 Add: hand evaluation for game engine 2026-04-04 23:37:32 +02:00
Julian Kropff fb71c6de7b Add: game engine and flow control 2026-04-04 23:35:43 +02:00
Julian Kropff 041a5f135a Add: player actions for game engine 2026-04-04 23:34:01 +02:00
Julian Kropff 700e8de39d Add: core domain models for game engine 2026-04-04 23:31:34 +02:00
Lars Simon Winzer a0319af3b3 Fix: Revert and use relative path instead 2026-04-04 22:09:20 +02:00
Lars Simon Winzer b8a0c224cf Fix: Replace markdown native image embed with html tag 2026-04-04 22:06:09 +02:00
Julian Kropff b99facab3b Docs: fix Game Engine architecture Documentation 2026-04-04 19:10:19 +02:00
Lars Simon Winzer 6d19b89351 Merge branch 'chore/49-serverside-documentation-for-handling-request' into 'main'
Write documentation on how to implement additional commands on the server

Closes #49

See merge request cs108-fs26/Gruppe-13!76
2026-04-04 18:14:06 +02:00
Lars Simon Winzer b9a8448b53 Docs: Write guide on implementing a custom command and link to it from README 2026-04-04 18:08:03 +02:00
Julian Kropff 59c47267ad Docs: fix Game Engine implementation Documentation 2026-04-04 16:13:23 +02:00
Lars Simon Winzer f971e6ad5b Docs: Write technical deep dive for commands and link to it from README
Includes puml diagrams and exported svgs
2026-04-04 15:51:29 +02:00
Lars Simon Winzer 4317b63a87 Docs: Write README for commands section of serverside documentation 2026-04-04 14:36:46 +02:00
Julian Kropff 413999a226 Add: Game Engine implementation Documentation 2026-04-04 11:51:26 +02:00
Julian Kropff ee1e474a9d Docs: Fix typos in poker rules description 2026-04-04 11:47:12 +02:00
Julian Kropff 8c0dd1a481 Docs: A simple description of the poker rules with an example, English version 2026-04-04 10:24:08 +02:00
Julian Kropff 3640c1117d Docs: update client network architecture documentation 2026-04-04 10:21:07 +02:00
Julian Kropff e86de25b34 Add: A simple description of poker rules with an example 2026-04-03 14:35:08 +02:00
Jona Walpert 42b5344059 Test: Add in-process TestServer and update LobbyButtonGridManagerTest
Add TestServer that speaks the RawPacket/TcpTransport protocol for CREATE_LOBBY,
GET_LOBBY_STATUS and JOIN_LOBBY. Update LobbyButtonGridManagerTest to start the
TestServer and exercise a real `ClientService(host, port)`, enabling integration-style
tests of the client->transport->server roundtrip without an external server.

Refs #36
2026-04-02 22:28:12 +02:00
Jona Walpert 76e62b3cff Feat: Accept ClientService and delegate to LobbyClient
Add constructor overload that accepts ClientService and constructs a LobbyClient.
Avoids implicit host/port lookup in UI code; caller controls network config.
Keeps rendering/status behavior unchanged (async updates, deterministic ordering).
2026-04-02 22:26:14 +02:00
Jona Walpert 1070b5d4b9 Chore(startup): Propagate server ip:port to UI via system properties
ClientApp.start parses <ip>:<port>, sets `casono.server.host` / `casono.server.port` and forwards the original launch arg to the JavaFX launcher.
Casinomainui reads JavaFX launch args and exposes the same system properties.
CasinomainuiController reads those properties and constructs `ClientService(host, port)` (no hardcoded defaults)."
2026-04-02 22:12:48 +02:00
Jona Walpert 4daf6ff4a2 Fix: Sort button IDs before iterating map for deterministic rendering
Copy mapping.keySet() to a List and call Collections.sort(...) before iterating.
Ensures stable button placement and reproducible image updates (render + update)
2026-04-02 22:00:18 +02:00
Mathis Ginkel 7b1b35698c Merge remote-tracking branch 'origin/main' 2026-04-02 22:00:06 +02:00