Commit Graph

6 Commits

Author SHA1 Message Date
Kieran Kihn
c2a57dba81 feat(logging): integrate spdlog for enhanced logging and debugging
- Added spdlog dependency to `CMakeLists.txt`.
- Implemented a centralized `Logger` with file rotation and console output support.
- Added detailed logging across server, client, and game modules for improved traceability.
2025-12-11 22:47:33 +08:00
Kieran Kihn
d8d39f713d fix(ui): correct player rotation logic in GameUI 2025-12-10 22:31:28 +08:00
Kieran Kihn
84d81cf2f0 fix(ui): handle unreachable default case in GameUI switch statement 2025-12-10 22:31:19 +08:00
Kieran Kihn
955aa0956d feat(ui): add AFTER_GAME state and restart flow in GameUI
- Introduced `AFTER_GAME` state to handle post-game logic.
- Updated `GameUI` to show restart prompt when the game ends.
- Modified `StartPage` and `MainWindow` to support restart behavior.
- Adjusted `endGame` method to transition to `AFTER_GAME`.
2025-12-10 22:30:25 +08:00
Kieran Kihn
fb9f308635 feat(ui): enhance GameUI with active game state updates and player actions
- Added callbacks for playing and drawing cards.
- Integrated hand card and player list updates during active game stages.
- Implemented discard pile, current color, and game direction display.
2025-12-10 21:44:34 +08:00
Kieran Kihn
4eecc0a269 feat(ui): add GameUI class for handling game UI and player actions
- Implemented `GameUI` for managing game state transitions and player interactions.
- Integrated Slint `MainWindow` for UI rendering and event handling.
2025-12-09 20:06:13 +08:00