Commit Graph

6 Commits

Author SHA1 Message Date
Kieran Kihn
1b52c87b0e feat(ui): add scroll support for hand cards 2025-12-18 23:34:24 +08:00
Kieran Kihn
150e29c25c feat(ui): add dynamic scaling support
- Introduced `scale` property across components for responsive design.
- Adjusted dimensions and positions dynamically based on scale.
- Enhanced flexibility for varying display resolutions.
2025-12-18 11:42:29 +08:00
Kieran Kihn
6276dbdea3 fix(ui): reset selected-card-index on card draw button click 2025-12-17 23:37:36 +08:00
Kieran Kihn
b0212161ac fix(ui): simplify GamePage animation logic
- Replaced `cycle` property with constant `base-angle`.
- Removed `Timer` and associated counter logic.
- Enabled infinite animation with `iteration-count: -1`.
2025-12-11 11:18:10 +08:00
Kieran Kihn
3fa3dbcb2a fix(ui): bind turn state to TouchArea and player component
- Enabled `TouchArea` based on the current player's turn.
- Updated player component to reflect dynamic turn state.
2025-12-10 22:30:44 +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