Commit Graph

4 Commits

Author SHA1 Message Date
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