fix: 交互模式逐回合展示 + Deal()公开 + 发牌输出修正

问题:
1. 交互模式 Run() 直接跑完整局,只渲染最终状态
2. RenderGame 手牌.OrderBy()排序,洗牌后仍显顺序
3. 牌墙剩余显示0因为游戏已跑完

修复:
- 交互模式: room.Deal()→RenderDeal→逐回合StepTurn+ReadLine
- 发牌输出: 显示每人张数 + 牌墙剩余,不排序手牌
- 每回合: 显示事件(摸/打/碰/杠/胡) + 当前手牌
- Run()保留用于自动模式
This commit is contained in:
xiaoou
2026-07-04 11:22:46 +08:00
parent 504189a918
commit b871395884
2 changed files with 112 additions and 37 deletions

View File

@ -316,7 +316,7 @@ public class MahjongRoom
IsFinished = true;
}
private void Deal()
public void Deal()
{
int perPlayer = _rules.Deal.CardsPerPlayer;
bool includeFlowers = _rules.Deck.IncludeFlowers;