5 Commits

Author SHA1 Message Date
xiaji
8c81e0d14b feat: 添加出牌动画和牌型排序显示
- 修复 AI decide 方法参数类型为 Array[Card]
- 添加 cards_played 和 player_passed 信号
- 出牌时在桌面中央显示排序后的卡牌
- 过牌时清除桌面牌
- 添加延迟动画效果(0.8秒显示,0.5秒清除)
- 添加 TableLabel 作为出牌显示区域
- 出牌按 rank 排序显示

🤖 Generated with [Qoder][https://qoder.com]
2026-06-01 23:12:35 +08:00
xiaji
bad46b0109 fix: revert // to / in deck.gd (GDScript 4 does not support // operator)
The INTEGER_DIVISION warning in deck.gd:19 is a false positive - both
operands are int, so / performs integer division correctly in GDScript 4.
Using // caused a parse error (Expected expression after '/' operator),
which cascaded to GameController/TrainingController resolution failure.
2026-05-30 08:01:07 +08:00
xiaji
cb4afe0aaa fix: resolve pass keyword conflict in move_generator and game_controller 2026-05-29 10:09:55 +08:00
xiaji
c1350a3d7b fix: resolve GDScript parse errors (pass keyword, array type inference, tabs) 2026-05-29 10:03:55 +08:00
xiaji
5741ba1dc0 test: add GUT test files for core modules (Card, Deck, HandEvaluator, RuleEngine, GameState) 2026-05-29 09:15:59 +08:00