Commit Graph

764 Commits

Author SHA1 Message Date
Lars Simon Winzer 2d7b15e593 Docs: Documentation describing the structure and conventions of our network protocol 2026-04-11 11:21:00 +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
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
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