Commit Graph

3 Commits

Author SHA1 Message Date
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
df6bbee5d7 feat(ui): add GamePage with player actions and game state display
- Integrated `GamePage` into `MainWindow` for active game state.
- Added player actions: play card, draw card, and call UNO.
- Implemented discard pile, game direction, and current color indicators.
- Designed player hand and opponent details with interactive components.
2025-12-10 21:47:01 +08:00
Kieran Kihn
592ae1ad23 refactor(ui): update Slint UI paths and update CMakeList.txt accordingly 2025-12-09 20:17:12 +08:00