Commit Graph

718 Commits

Author SHA1 Message Date
Julian Kropff 9f5625b2f6 Add: Notebook (Tips) box for help 2026-05-08 16:34:17 +02:00
Julian Kropff 2f19fff618 Feat: Improving the Game UI and implementing new Features:
- Improve dealer chip Rendering.
- Improve pot Rendering.
- Uses names instead of IDs as identifiers.
- Users are displayed one after another as they enter the Game UI.
- Correct order of opponents <- B <-> S <-> D <-> O -> in the Game UI.
- The boxes for the opponents should have a working hover effect.
- Improve the rendering of the table text.
- Remove hover animations from cards and the pot for improved handling and a more stable Game UI.
2026-05-08 16:27:42 +02:00
Julian Kropff b63ce096fa Style: the boxes for the opponents should have a working hover effect. 2026-05-08 15:08:13 +02:00
Julian Kropff b304fa04ed Fix: correct kicker logic and split pot evaluation
- Fixed kicker calculation for ties.
- Refactored game engine to return a list of winners.
- Enabled support for multiple winners in split pot scenarios.
2026-05-08 15:05:39 +02:00
Julian Kropff 394cdf4ea1 Remove animations from cards and the pot to improve usability, make the game interface more stable, and enhance the glass themes 2026-05-08 12:57:32 +02:00
Julian Kropff 3100e4008d Add: settings with theme options: Default, Dark, and Glass 2026-05-08 12:54:31 +02:00
Julian Kropff 4cf88a9a2f Add: tips and settings boxes to Game Ui fxml 2026-05-07 16:28:33 +02:00
Julian Kropff e4707bd6ee Style: improve help button in taskbar fxml 2026-05-07 16:25:45 +02:00
Julian Kropff f843adc93b Add: settings fxml for theme switching 2026-05-07 16:23:25 +02:00
Julian Kropff bddd9658cf Add: notebook fxml for tips 2026-05-07 16:20:53 +02:00
Julian Kropff 217209997f Style: fix Game Ui default theme 2026-05-07 16:15:54 +02:00
Julian Kropff 712ba913e7 Style: add glass theme 2026-05-07 16:14:37 +02:00
Julian Kropff 6f8c43397c Style: add dark theme 2026-05-07 16:13:34 +02:00
jk 479fab6557 Add: new wallpaper for the glass theme 2026-05-07 16:09:45 +02:00
Jona Walpert 5a3c47660d Refactor: rewrite lamdba execution to more elegant version
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 11:44:57 +02:00
Jona Walpert be8e46d356 Style: Fix spotless checkStyle
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 11:41:04 +02:00
Jona Walpert ba1249bf93 Feat: Add button cklick and card draw sounds to gameUI 2026-04-30 11:37:22 +02:00
Jona Walpert cf52d293a4 Feat: Add sounds to chat UI 2026-04-30 11:35:34 +02:00
Jona Walpert b397478337 Feat: Add button click sounds to Lobby UI 2026-04-30 11:34:49 +02:00
Jona Walpert 0d896d6aad Add: Add sound manager to play sounds 2026-04-30 11:33:39 +02:00
Jona Walpert ef1f3c20b6 Feat: Add button cklick and card draw sound 2026-04-30 11:31:51 +02:00
Lars Simon Winzer 363a0ed895 Test: Add unit tests for CommandParserDispatcher 2026-04-27 01:04:45 +02:00
Lars Simon Winzer ecf692fbcd Merge branch 'feat/135-write-unit-tests-for-eventbus' into 'main'
Unit tests for EventBus

Closes #135

See merge request cs108-fs26/Gruppe-13!162
2026-04-27 00:55:43 +02:00
Lars Simon Winzer d36a78eee4 Style: Change order and visibility of nested class to private 2026-04-27 00:50:44 +02:00
Mathis Ginkel 8484f731a8 Style: Apply Spotless 2026-04-27 00:46:31 +02:00
Lars Simon Winzer b158be26e3 Style: Add 'test' prefix to methods 2026-04-27 00:45:53 +02:00
Mathis Ginkel 59af75a75c Merge branch 'main' into feat/chat-tests 2026-04-27 00:42:44 +02:00
Lars Simon Winzer 823b406fe6 Test: Add unit tests for EventBus 2026-04-27 00:41:17 +02:00
Lars Simon Winzer eb2b209e91 Test: Add unit tests for SessionDisconnectJob 2026-04-27 00:20:54 +02:00
Mathis Ginkel 5663807e29 Style: Fixing some linter warnings in ChatModel and Message classes 2026-04-27 00:17:34 +02:00
Mathis Ginkel fe83057049 Merge branch 'main' into feat/chat-tests
# Conflicts:
#	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
2026-04-27 00:07:26 +02:00
Mathis Ginkel e9b40e9d04 Style: Apply Spotless 2026-04-26 23:54:15 +02:00
Mathis Ginkel b7f5a268e3 Feat: Remove chatui directory in gameuicomponents 2026-04-26 23:51:45 +02:00
Mathis Ginkel d8d6dbb34f Style: fixing some linter warnings in chat ui classes 2026-04-26 21:45:25 +00:00
Mathis Ginkel efd91fbe5f Style: Apply Spotless 2026-04-26 21:45:25 +00:00
Mathis Ginkel ad2accfced Fix: Reopen whisper chat when previously closed 2026-04-26 21:45:25 +00:00
Mathis Ginkel 4c35596f19 Feat: Change look of chat box 2026-04-26 21:45:25 +00:00
Mathis Ginkel 659e606fb4 Merge branch 'main' into feat/chat-tests 2026-04-26 23:37:36 +02:00
Mathis Ginkel 5358309e1a Test: Add test for ChatController 2026-04-26 23:36:50 +02:00
Julian Kropff dc2b3e05d9 Merge branch 'feat/game-ui-tests' into 'main'
Add: Game UI Taskbar tests

See merge request cs108-fs26/Gruppe-13!158
2026-04-26 21:36:17 +00:00
Julian Kropff d6ad60d6a7 Fix: radical overhaul of Game UI tests to fix CI pipeline failures 2026-04-26 23:27:53 +02:00
Julian Kropff ddb3e221ac Fix: radical overhaul of Game UI tests to fix CI pipeline failures 2026-04-26 23:04:45 +02:00
Julian Kropff 52ad32a100 Fix: radical overhaul of Game UI tests to fix CI pipeline failures 2026-04-26 22:35:45 +02:00
Julian Kropff 822d9a0e1e Fix: Checkstyle 2026-04-26 21:57:14 +02:00
Mathis Ginkel 216c15e825 Merge branch 'refs/heads/main' into feat/chat-visual-improvement 2026-04-26 21:46:52 +02:00
Julian Kropff 30927d471e Add: Game UI test: Ensures FXML loads and controller initializes without errors. 2026-04-26 21:42:47 +02:00
Julian Kropff 86ab82ebfd Add: Game UI Taskbar tests:
- input validation behavior
- UI state updates based on game state
- correct enabling/disabling of action buttons
2026-04-26 21:34:24 +02:00
Julian Kropff 6a06369d94 Fix: Checkstyle 2026-04-26 21:26:45 +02:00
Mathis Ginkel 1b18affd57 Fix: Reopen whisper chat when previously closed 2026-04-26 20:25:31 +02:00
Lars Simon Winzer d91ee5b04f Test: Add unit tests for ResponseEncoder 2026-04-26 19:10:11 +02:00