Пример #1
0
        public static (int, int) Chankan(ProgressiveScoringData data, WindScoringData wind, TileType winningTile)
        {
            var(yaku, fu) = data.YakuAndFu(wind, winningTile, true);
            var han = Han.CalculateScoringField(yaku);

            return(han, fu);
        }
Пример #2
0
 public static (Yaku, int) TsumoWithYaku(ProgressiveScoringData data, WindScoringData wind, TileType winningTile)
 {
     var(yaku, fu) = data.YakuAndFu(wind, winningTile, false);
     return((Yaku)yaku, fu);
 }