mahjong_engine 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockDivider.d.ts → modules/BlockDivider.d.ts} +2 -2
- package/dist/modules/BlockDivider.d.ts.map +1 -0
- package/dist/{BlockDivider.js → modules/BlockDivider.js} +17 -21
- package/dist/modules/BlockDivider.js.map +1 -0
- package/dist/{BlockHais.d.ts → modules/BlockHais.d.ts} +4 -4
- package/dist/modules/BlockHais.d.ts.map +1 -0
- package/dist/{BlockHais.js → modules/BlockHais.js} +13 -17
- package/dist/modules/BlockHais.js.map +1 -0
- package/dist/{BlockHaisList.d.ts → modules/BlockHaisList.d.ts} +2 -2
- package/dist/modules/BlockHaisList.d.ts.map +1 -0
- package/dist/{BlockHaisList.js → modules/BlockHaisList.js} +13 -17
- package/dist/modules/BlockHaisList.js.map +1 -0
- package/dist/{Hai.d.ts → modules/Hai.d.ts} +1 -1
- package/dist/modules/Hai.d.ts.map +1 -0
- package/dist/modules/Hai.js +67 -0
- package/dist/modules/Hai.js.map +1 -0
- package/dist/{Hais.d.ts → modules/Hais.d.ts} +1 -1
- package/dist/modules/Hais.d.ts.map +1 -0
- package/dist/{Hais.js → modules/Hais.js} +4 -8
- package/dist/modules/Hais.js.map +1 -0
- package/dist/{IMentsu.d.ts → modules/IMentsu.d.ts} +3 -3
- package/dist/modules/IMentsu.d.ts.map +1 -0
- package/dist/modules/IMentsu.js +2 -0
- package/dist/{IMentsu.js.map → modules/IMentsu.js.map} +1 -1
- package/dist/{MachiCalculator.d.ts → modules/MachiCalculator.d.ts} +1 -1
- package/dist/modules/MachiCalculator.d.ts.map +1 -0
- package/dist/modules/MachiCalculator.js +21 -0
- package/dist/modules/MachiCalculator.js.map +1 -0
- package/dist/modules/MahjongConsts.d.ts.map +1 -0
- package/dist/{MahjongConsts.js → modules/MahjongConsts.js} +12 -15
- package/dist/modules/MahjongConsts.js.map +1 -0
- package/dist/{Meld.d.ts → modules/Meld.d.ts} +4 -4
- package/dist/modules/Meld.d.ts.map +1 -0
- package/dist/{Meld.js → modules/Meld.js} +11 -15
- package/dist/modules/Meld.js.map +1 -0
- package/dist/{Melds.d.ts → modules/Melds.d.ts} +1 -1
- package/dist/modules/Melds.d.ts.map +1 -0
- package/dist/{Melds.js → modules/Melds.js} +1 -5
- package/dist/modules/Melds.js.map +1 -0
- package/dist/{MentsuAnalyzer.d.ts → modules/MentsuAnalyzer.d.ts} +2 -2
- package/dist/modules/MentsuAnalyzer.d.ts.map +1 -0
- package/dist/{MentsuAnalyzer.js → modules/MentsuAnalyzer.js} +1 -5
- package/dist/modules/MentsuAnalyzer.js.map +1 -0
- package/dist/{PlayerContext.d.ts → modules/PlayerContext.d.ts} +3 -3
- package/dist/modules/PlayerContext.d.ts.map +1 -0
- package/dist/{PlayerContext.js → modules/PlayerContext.js} +3 -7
- package/dist/modules/PlayerContext.js.map +1 -0
- package/dist/{PlayerHand.d.ts → modules/PlayerHand.d.ts} +2 -2
- package/dist/modules/PlayerHand.d.ts.map +1 -0
- package/dist/{PlayerHand.js → modules/PlayerHand.js} +3 -7
- package/dist/modules/PlayerHand.js.map +1 -0
- package/dist/modules/index.d.ts +16 -0
- package/dist/modules/index.d.ts.map +1 -0
- package/dist/{index.d.ts → modules/index.js} +1 -1
- package/dist/modules/index.js.map +1 -0
- package/dist/{tensuu → modules/tensuu}/FuCalculator.d.ts +2 -2
- package/dist/modules/tensuu/FuCalculator.d.ts.map +1 -0
- package/dist/{tensuu → modules/tensuu}/FuCalculator.js +25 -29
- package/dist/modules/tensuu/FuCalculator.js.map +1 -0
- package/dist/{tensuu → modules/tensuu}/FuDetail.d.ts +1 -1
- package/dist/modules/tensuu/FuDetail.d.ts.map +1 -0
- package/dist/modules/tensuu/FuDetail.js +11 -0
- package/dist/modules/tensuu/FuDetail.js.map +1 -0
- package/dist/{tensuu → modules/tensuu}/ScoreResolver.d.ts +2 -2
- package/dist/modules/tensuu/ScoreResolver.d.ts.map +1 -0
- package/dist/modules/tensuu/ScoreResolver.js +29 -0
- package/dist/modules/tensuu/ScoreResolver.js.map +1 -0
- package/dist/{tensuu → modules/tensuu}/ScoreResult.d.ts +2 -2
- package/dist/modules/tensuu/ScoreResult.d.ts.map +1 -0
- package/dist/{tensuu → modules/tensuu}/ScoreResult.js +1 -5
- package/dist/modules/tensuu/ScoreResult.js.map +1 -0
- package/dist/{tensuu → modules/tensuu}/TensuuCalculator.d.ts +1 -1
- package/dist/modules/tensuu/TensuuCalculator.d.ts.map +1 -0
- package/dist/{tensuu → modules/tensuu}/TensuuCalculator.js +3 -7
- package/dist/modules/tensuu/TensuuCalculator.js.map +1 -0
- package/dist/modules/tensuu/TensuuResult.d.ts.map +1 -0
- package/dist/{tensuu → modules/tensuu}/TensuuResult.js +1 -5
- package/dist/modules/tensuu/TensuuResult.js.map +1 -0
- package/dist/modules/tileDefs.d.ts.map +1 -0
- package/dist/{tileDefs.js → modules/tileDefs.js} +1 -4
- package/dist/modules/tileDefs.js.map +1 -0
- package/dist/{yaku → modules/yaku}/NormalYakuChecker.d.ts +1 -1
- package/dist/modules/yaku/NormalYakuChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/NormalYakuChecker.js +8 -12
- package/dist/modules/yaku/NormalYakuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/YakuChecker.d.ts +1 -1
- package/dist/modules/yaku/YakuChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/YakuChecker.js +5 -9
- package/dist/modules/yaku/YakuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/YakuCheckerBase.d.ts +4 -4
- package/dist/modules/yaku/YakuCheckerBase.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/YakuCheckerBase.js +13 -17
- package/dist/modules/yaku/YakuCheckerBase.js.map +1 -0
- package/dist/modules/yaku/YakuContext.d.ts +14 -0
- package/dist/modules/yaku/YakuContext.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/YakuContext.js +1 -5
- package/dist/modules/yaku/YakuContext.js.map +1 -0
- package/dist/{yaku → modules/yaku}/YakumanChecker.d.ts +1 -1
- package/dist/modules/yaku/YakumanChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/YakumanChecker.js +6 -10
- package/dist/modules/yaku/YakumanChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/index.d.ts +2 -2
- package/dist/modules/yaku/index.d.ts.map +1 -0
- package/dist/modules/yaku/index.js +76 -0
- package/dist/modules/yaku/index.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/ChinitsuChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/ChinitsuChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/ChinitsuChecker.js +2 -6
- package/dist/modules/yaku/normal/ChinitsuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/ChitoitsuChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/ChitoitsuChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/ChitoitsuChecker.js +16 -0
- package/dist/modules/yaku/normal/ChitoitsuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/DoukouChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/DoukouChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/DoukouChecker.js +13 -0
- package/dist/modules/yaku/normal/DoukouChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/HonchanChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/HonchanChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/HonchanChecker.js +18 -0
- package/dist/modules/yaku/normal/HonchanChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/HonitsuChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/HonitsuChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/HonitsuChecker.js +16 -0
- package/dist/{yaku → modules/yaku}/normal/HonitsuChecker.js.map +1 -1
- package/dist/{yaku → modules/yaku}/normal/HonrotoChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/HonrotoChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/HonrotoChecker.js +17 -0
- package/dist/modules/yaku/normal/HonrotoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/IipekoChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/IipekoChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/IipekoChecker.js +14 -0
- package/dist/modules/yaku/normal/IipekoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/IttsuuChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/IttsuuChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/IttsuuChecker.js +2 -6
- package/dist/modules/yaku/normal/IttsuuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/JunchanChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/JunchanChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/JunchanChecker.js +15 -0
- package/dist/modules/yaku/normal/JunchanChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/KazehaiChecker.d.ts +3 -3
- package/dist/modules/yaku/normal/KazehaiChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/KazehaiChecker.js +20 -0
- package/dist/{yaku → modules/yaku}/normal/KazehaiChecker.js.map +1 -1
- package/dist/{yaku → modules/yaku}/normal/MenzenTsumoChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/MenzenTsumoChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/MenzenTsumoChecker.js +12 -0
- package/dist/modules/yaku/normal/MenzenTsumoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/PinfuChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/PinfuChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/PinfuChecker.js +26 -0
- package/dist/modules/yaku/normal/PinfuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/RenpuuhaiChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/RenpuuhaiChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/RenpuuhaiChecker.js +18 -0
- package/dist/modules/yaku/normal/RenpuuhaiChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/RyanpekoChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/RyanpekoChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/RyanpekoChecker.js +14 -0
- package/dist/modules/yaku/normal/RyanpekoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/SanankoChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/SanankoChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/SanankoChecker.js +13 -0
- package/dist/modules/yaku/normal/SanankoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/SankantsuChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/SankantsuChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/SankantsuChecker.js +13 -0
- package/dist/modules/yaku/normal/SankantsuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/SanshokuChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/SanshokuChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/SanshokuChecker.js +13 -0
- package/dist/modules/yaku/normal/SanshokuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/ShosangenChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/ShosangenChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/ShosangenChecker.js +2 -6
- package/dist/modules/yaku/normal/ShosangenChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/TanyaoChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/TanyaoChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/TanyaoChecker.js +2 -6
- package/dist/modules/yaku/normal/TanyaoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/ToitoiChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/ToitoiChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/ToitoiChecker.js +13 -0
- package/dist/modules/yaku/normal/ToitoiChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/normal/YakuhaiChecker.d.ts +2 -2
- package/dist/modules/yaku/normal/YakuhaiChecker.d.ts.map +1 -0
- package/dist/modules/yaku/normal/YakuhaiChecker.js +18 -0
- package/dist/modules/yaku/normal/YakuhaiChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/ChinrotoChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/ChinrotoChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/ChinrotoChecker.js +9 -0
- package/dist/modules/yaku/yakuman/ChinrotoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/Churen9Checker.d.ts +3 -3
- package/dist/modules/yaku/yakuman/Churen9Checker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/Churen9Checker.js +13 -0
- package/dist/modules/yaku/yakuman/Churen9Checker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/ChurenChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/ChurenChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/ChurenChecker.js +4 -8
- package/dist/modules/yaku/yakuman/ChurenChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/DaisangenChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/DaisangenChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/DaisangenChecker.js +11 -0
- package/dist/modules/yaku/yakuman/DaisangenChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/DaisushiChecker.d.ts +2 -2
- package/dist/modules/yaku/yakuman/DaisushiChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/DaisushiChecker.js +2 -6
- package/dist/modules/yaku/yakuman/DaisushiChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/ExtendedYakumanChecker.d.ts +2 -2
- package/dist/modules/yaku/yakuman/ExtendedYakumanChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/ExtendedYakumanChecker.js +14 -0
- package/dist/modules/yaku/yakuman/ExtendedYakumanChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/Kokushi13Checker.d.ts +3 -3
- package/dist/modules/yaku/yakuman/Kokushi13Checker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/Kokushi13Checker.js +13 -0
- package/dist/modules/yaku/yakuman/Kokushi13Checker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/KokushiChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/KokushiChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/KokushiChecker.js +14 -0
- package/dist/modules/yaku/yakuman/KokushiChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/RyuisoChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/RyuisoChecker.d.ts.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/RyuisoChecker.js +2 -6
- package/dist/modules/yaku/yakuman/RyuisoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/ShosushiChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/ShosushiChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/ShosushiChecker.js +11 -0
- package/dist/modules/yaku/yakuman/ShosushiChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/SuankoChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/SuankoChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/SuankoChecker.js +13 -0
- package/dist/modules/yaku/yakuman/SuankoChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/SuankoTankiChecker.d.ts +2 -2
- package/dist/modules/yaku/yakuman/SuankoTankiChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/SuankoTankiChecker.js +24 -0
- package/dist/modules/yaku/yakuman/SuankoTankiChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/SukantsuChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/SukantsuChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/SukantsuChecker.js +8 -0
- package/dist/modules/yaku/yakuman/SukantsuChecker.js.map +1 -0
- package/dist/{yaku → modules/yaku}/yakuman/TsuisoChecker.d.ts +1 -1
- package/dist/modules/yaku/yakuman/TsuisoChecker.d.ts.map +1 -0
- package/dist/modules/yaku/yakuman/TsuisoChecker.js +9 -0
- package/dist/modules/yaku/yakuman/TsuisoChecker.js.map +1 -0
- package/dist/tests/fu.test.d.ts +2 -0
- package/dist/tests/fu.test.d.ts.map +1 -0
- package/dist/tests/fu.test.js +39 -0
- package/dist/tests/fu.test.js.map +1 -0
- package/dist/tests/machi/chinitsu.d.ts +6 -0
- package/dist/tests/machi/chinitsu.d.ts.map +1 -0
- package/dist/tests/machi/chinitsu.js +138 -0
- package/dist/tests/machi/chinitsu.js.map +1 -0
- package/dist/tests/machi/chitoitsu.d.ts +6 -0
- package/dist/tests/machi/chitoitsu.d.ts.map +1 -0
- package/dist/tests/machi/chitoitsu.js +13 -0
- package/dist/tests/machi/chitoitsu.js.map +1 -0
- package/dist/tests/machi/kokushi.d.ts +6 -0
- package/dist/tests/machi/kokushi.d.ts.map +1 -0
- package/dist/tests/machi/kokushi.js +23 -0
- package/dist/tests/machi/kokushi.js.map +1 -0
- package/dist/tests/machi/maisuu.d.ts +6 -0
- package/dist/tests/machi/maisuu.d.ts.map +1 -0
- package/dist/tests/machi/maisuu.js +78 -0
- package/dist/tests/machi/maisuu.js.map +1 -0
- package/dist/tests/machi.test.d.ts +2 -0
- package/dist/tests/machi.test.d.ts.map +1 -0
- package/dist/tests/machi.test.js +87 -0
- package/dist/tests/machi.test.js.map +1 -0
- package/dist/tests/machiType.test.d.ts +2 -0
- package/dist/tests/machiType.test.d.ts.map +1 -0
- package/dist/tests/machiType.test.js +79 -0
- package/dist/tests/machiType.test.js.map +1 -0
- package/dist/tests/score.test.d.ts +2 -0
- package/dist/tests/score.test.d.ts.map +1 -0
- package/dist/tests/score.test.js +25 -0
- package/dist/tests/score.test.js.map +1 -0
- package/dist/tests/tehaiCaseRunner.d.ts +18 -0
- package/dist/tests/tehaiCaseRunner.d.ts.map +1 -0
- package/dist/tests/tehaiCaseRunner.js +49 -0
- package/dist/tests/tehaiCaseRunner.js.map +1 -0
- package/dist/tests/tensuu/fu.d.ts +3 -0
- package/dist/tests/tensuu/fu.d.ts.map +1 -0
- package/dist/tests/tensuu/fu.js +271 -0
- package/dist/tests/tensuu/fu.js.map +1 -0
- package/dist/tests/tensuu/score.d.ts +3 -0
- package/dist/tests/tensuu/score.d.ts.map +1 -0
- package/dist/tests/tensuu/score.js +45 -0
- package/dist/tests/tensuu/score.js.map +1 -0
- package/dist/tests/tensuu/tensuuNum.d.ts +3 -0
- package/dist/tests/tensuu/tensuuNum.d.ts.map +1 -0
- package/dist/tests/tensuu/tensuuNum.js +291 -0
- package/dist/tests/tensuu/tensuuNum.js.map +1 -0
- package/dist/tests/tensuuFromNum.test.d.ts +2 -0
- package/dist/tests/tensuuFromNum.test.d.ts.map +1 -0
- package/dist/tests/tensuuFromNum.test.js +13 -0
- package/dist/tests/tensuuFromNum.test.js.map +1 -0
- package/dist/tests/testConsts.d.ts +42 -0
- package/dist/tests/testConsts.d.ts.map +1 -0
- package/dist/tests/testConsts.js +2 -0
- package/dist/tests/testConsts.js.map +1 -0
- package/dist/tests/toBlock.test.d.ts +2 -0
- package/dist/tests/toBlock.test.d.ts.map +1 -0
- package/dist/tests/toBlock.test.js +130 -0
- package/dist/tests/toBlock.test.js.map +1 -0
- package/dist/tests/yaku/normal.d.ts +3 -0
- package/dist/tests/yaku/normal.d.ts.map +1 -0
- package/dist/tests/yaku/normal.js +1045 -0
- package/dist/tests/yaku/normal.js.map +1 -0
- package/dist/tests/yaku/yakuman.d.ts +3 -0
- package/dist/tests/yaku/yakuman.d.ts.map +1 -0
- package/dist/tests/yaku/yakuman.js +366 -0
- package/dist/tests/yaku/yakuman.js.map +1 -0
- package/dist/tests/yaku.test.d.ts +2 -0
- package/dist/tests/yaku.test.d.ts.map +1 -0
- package/dist/tests/yaku.test.js +25 -0
- package/dist/tests/yaku.test.js.map +1 -0
- package/jest.config.js +3 -0
- package/modules/BlockDivider.ts +4 -4
- package/modules/BlockHais.ts +4 -4
- package/modules/BlockHaisList.ts +2 -2
- package/modules/Hai.ts +2 -2
- package/modules/Hais.ts +1 -1
- package/modules/IMentsu.ts +3 -3
- package/modules/MachiCalculator.ts +3 -3
- package/modules/Meld.ts +4 -4
- package/modules/Melds.ts +1 -1
- package/modules/MentsuAnalyzer.ts +2 -2
- package/modules/PlayerContext.ts +3 -3
- package/modules/PlayerHand.ts +3 -3
- package/modules/index.ts +2 -1
- package/modules/tensuu/FuCalculator.ts +5 -5
- package/modules/tensuu/FuDetail.ts +1 -1
- package/modules/tensuu/ScoreResolver.ts +5 -5
- package/modules/tensuu/ScoreResult.ts +2 -2
- package/modules/tensuu/TensuuCalculator.ts +1 -1
- package/modules/yaku/NormalYakuChecker.ts +3 -3
- package/modules/yaku/YakuChecker.ts +3 -6
- package/modules/yaku/YakuCheckerBase.ts +7 -7
- package/modules/yaku/YakuContext.ts +5 -5
- package/modules/yaku/YakumanChecker.ts +3 -3
- package/modules/yaku/index.ts +36 -36
- package/modules/yaku/normal/ChinitsuChecker.ts +2 -3
- package/modules/yaku/normal/ChitoitsuChecker.ts +3 -4
- package/modules/yaku/normal/DoukouChecker.ts +2 -2
- package/modules/yaku/normal/HonchanChecker.ts +4 -5
- package/modules/yaku/normal/HonitsuChecker.ts +3 -4
- package/modules/yaku/normal/HonrotoChecker.ts +4 -5
- package/modules/yaku/normal/IipekoChecker.ts +2 -3
- package/modules/yaku/normal/IttsuuChecker.ts +2 -5
- package/modules/yaku/normal/JunchanChecker.ts +4 -5
- package/modules/yaku/normal/KazehaiChecker.ts +4 -5
- package/modules/yaku/normal/MenzenTsumoChecker.ts +2 -2
- package/modules/yaku/normal/PinfuChecker.ts +5 -5
- package/modules/yaku/normal/RenpuuhaiChecker.ts +3 -3
- package/modules/yaku/normal/RyanpekoChecker.ts +2 -3
- package/modules/yaku/normal/SanankoChecker.ts +2 -3
- package/modules/yaku/normal/SankantsuChecker.ts +2 -2
- package/modules/yaku/normal/SanshokuChecker.ts +2 -2
- package/modules/yaku/normal/ShosangenChecker.ts +2 -3
- package/modules/yaku/normal/TanyaoChecker.ts +2 -3
- package/modules/yaku/normal/ToitoiChecker.ts +2 -3
- package/modules/yaku/normal/YakuhaiChecker.ts +4 -4
- package/modules/yaku/yakuman/ChinrotoChecker.ts +1 -2
- package/modules/yaku/yakuman/Churen9Checker.ts +4 -4
- package/modules/yaku/yakuman/ChurenChecker.ts +2 -3
- package/modules/yaku/yakuman/DaisangenChecker.ts +1 -2
- package/modules/yaku/yakuman/DaisushiChecker.ts +2 -3
- package/modules/yaku/yakuman/ExtendedYakumanChecker.ts +2 -2
- package/modules/yaku/yakuman/Kokushi13Checker.ts +4 -4
- package/modules/yaku/yakuman/KokushiChecker.ts +2 -2
- package/modules/yaku/yakuman/RyuisoChecker.ts +1 -1
- package/modules/yaku/yakuman/ShosushiChecker.ts +1 -1
- package/modules/yaku/yakuman/SuankoChecker.ts +1 -1
- package/modules/yaku/yakuman/SuankoTankiChecker.ts +4 -5
- package/modules/yaku/yakuman/SukantsuChecker.ts +1 -1
- package/modules/yaku/yakuman/TsuisoChecker.ts +1 -1
- package/package.json +29 -29
- package/tsconfig.build.json +11 -0
- package/tsconfig.json +26 -23
- package/dist/BlockDivider.d.ts.map +0 -1
- package/dist/BlockDivider.js.map +0 -1
- package/dist/BlockHais.d.ts.map +0 -1
- package/dist/BlockHais.js.map +0 -1
- package/dist/BlockHaisList.d.ts.map +0 -1
- package/dist/BlockHaisList.js.map +0 -1
- package/dist/Hai.d.ts.map +0 -1
- package/dist/Hai.js +0 -71
- package/dist/Hai.js.map +0 -1
- package/dist/Hais.d.ts.map +0 -1
- package/dist/Hais.js.map +0 -1
- package/dist/IMentsu.d.ts.map +0 -1
- package/dist/IMentsu.js +0 -3
- package/dist/MachiCalculator.d.ts.map +0 -1
- package/dist/MachiCalculator.js +0 -25
- package/dist/MachiCalculator.js.map +0 -1
- package/dist/MahjongConsts.d.ts.map +0 -1
- package/dist/MahjongConsts.js.map +0 -1
- package/dist/Meld.d.ts.map +0 -1
- package/dist/Meld.js.map +0 -1
- package/dist/Melds.d.ts.map +0 -1
- package/dist/Melds.js.map +0 -1
- package/dist/MentsuAnalyzer.d.ts.map +0 -1
- package/dist/MentsuAnalyzer.js.map +0 -1
- package/dist/PlayerContext.d.ts.map +0 -1
- package/dist/PlayerContext.js.map +0 -1
- package/dist/PlayerHand.d.ts.map +0 -1
- package/dist/PlayerHand.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -45
- package/dist/index.js.map +0 -1
- package/dist/tensuu/FuCalculator.d.ts.map +0 -1
- package/dist/tensuu/FuCalculator.js.map +0 -1
- package/dist/tensuu/FuDetail.d.ts.map +0 -1
- package/dist/tensuu/FuDetail.js +0 -15
- package/dist/tensuu/FuDetail.js.map +0 -1
- package/dist/tensuu/ScoreResolver.d.ts.map +0 -1
- package/dist/tensuu/ScoreResolver.js +0 -33
- package/dist/tensuu/ScoreResolver.js.map +0 -1
- package/dist/tensuu/ScoreResult.d.ts.map +0 -1
- package/dist/tensuu/ScoreResult.js.map +0 -1
- package/dist/tensuu/TensuuCalculator.d.ts.map +0 -1
- package/dist/tensuu/TensuuCalculator.js.map +0 -1
- package/dist/tensuu/TensuuResult.d.ts.map +0 -1
- package/dist/tensuu/TensuuResult.js.map +0 -1
- package/dist/tileDefs.d.ts.map +0 -1
- package/dist/tileDefs.js.map +0 -1
- package/dist/yaku/NormalYakuChecker.d.ts.map +0 -1
- package/dist/yaku/NormalYakuChecker.js.map +0 -1
- package/dist/yaku/YakuChecker.d.ts.map +0 -1
- package/dist/yaku/YakuChecker.js.map +0 -1
- package/dist/yaku/YakuCheckerBase.d.ts.map +0 -1
- package/dist/yaku/YakuCheckerBase.js.map +0 -1
- package/dist/yaku/YakuContext.d.ts +0 -14
- package/dist/yaku/YakuContext.d.ts.map +0 -1
- package/dist/yaku/YakuContext.js.map +0 -1
- package/dist/yaku/YakumanChecker.d.ts.map +0 -1
- package/dist/yaku/YakumanChecker.js.map +0 -1
- package/dist/yaku/index.d.ts.map +0 -1
- package/dist/yaku/index.js +0 -79
- package/dist/yaku/index.js.map +0 -1
- package/dist/yaku/normal/ChinitsuChecker.d.ts.map +0 -1
- package/dist/yaku/normal/ChinitsuChecker.js.map +0 -1
- package/dist/yaku/normal/ChitoitsuChecker.d.ts.map +0 -1
- package/dist/yaku/normal/ChitoitsuChecker.js +0 -20
- package/dist/yaku/normal/ChitoitsuChecker.js.map +0 -1
- package/dist/yaku/normal/DoukouChecker.d.ts.map +0 -1
- package/dist/yaku/normal/DoukouChecker.js +0 -17
- package/dist/yaku/normal/DoukouChecker.js.map +0 -1
- package/dist/yaku/normal/HonchanChecker.d.ts.map +0 -1
- package/dist/yaku/normal/HonchanChecker.js +0 -22
- package/dist/yaku/normal/HonchanChecker.js.map +0 -1
- package/dist/yaku/normal/HonitsuChecker.d.ts.map +0 -1
- package/dist/yaku/normal/HonitsuChecker.js +0 -20
- package/dist/yaku/normal/HonrotoChecker.d.ts.map +0 -1
- package/dist/yaku/normal/HonrotoChecker.js +0 -21
- package/dist/yaku/normal/HonrotoChecker.js.map +0 -1
- package/dist/yaku/normal/IipekoChecker.d.ts.map +0 -1
- package/dist/yaku/normal/IipekoChecker.js +0 -18
- package/dist/yaku/normal/IipekoChecker.js.map +0 -1
- package/dist/yaku/normal/IttsuuChecker.d.ts.map +0 -1
- package/dist/yaku/normal/IttsuuChecker.js.map +0 -1
- package/dist/yaku/normal/JunchanChecker.d.ts.map +0 -1
- package/dist/yaku/normal/JunchanChecker.js +0 -19
- package/dist/yaku/normal/JunchanChecker.js.map +0 -1
- package/dist/yaku/normal/KazehaiChecker.d.ts.map +0 -1
- package/dist/yaku/normal/KazehaiChecker.js +0 -24
- package/dist/yaku/normal/MenzenTsumoChecker.d.ts.map +0 -1
- package/dist/yaku/normal/MenzenTsumoChecker.js +0 -16
- package/dist/yaku/normal/MenzenTsumoChecker.js.map +0 -1
- package/dist/yaku/normal/PinfuChecker.d.ts.map +0 -1
- package/dist/yaku/normal/PinfuChecker.js +0 -30
- package/dist/yaku/normal/PinfuChecker.js.map +0 -1
- package/dist/yaku/normal/RenpuuhaiChecker.d.ts.map +0 -1
- package/dist/yaku/normal/RenpuuhaiChecker.js +0 -22
- package/dist/yaku/normal/RenpuuhaiChecker.js.map +0 -1
- package/dist/yaku/normal/RyanpekoChecker.d.ts.map +0 -1
- package/dist/yaku/normal/RyanpekoChecker.js +0 -18
- package/dist/yaku/normal/RyanpekoChecker.js.map +0 -1
- package/dist/yaku/normal/SanankoChecker.d.ts.map +0 -1
- package/dist/yaku/normal/SanankoChecker.js +0 -17
- package/dist/yaku/normal/SanankoChecker.js.map +0 -1
- package/dist/yaku/normal/SankantsuChecker.d.ts.map +0 -1
- package/dist/yaku/normal/SankantsuChecker.js +0 -17
- package/dist/yaku/normal/SankantsuChecker.js.map +0 -1
- package/dist/yaku/normal/SanshokuChecker.d.ts.map +0 -1
- package/dist/yaku/normal/SanshokuChecker.js +0 -17
- package/dist/yaku/normal/SanshokuChecker.js.map +0 -1
- package/dist/yaku/normal/ShosangenChecker.d.ts.map +0 -1
- package/dist/yaku/normal/ShosangenChecker.js.map +0 -1
- package/dist/yaku/normal/TanyaoChecker.d.ts.map +0 -1
- package/dist/yaku/normal/TanyaoChecker.js.map +0 -1
- package/dist/yaku/normal/ToitoiChecker.d.ts.map +0 -1
- package/dist/yaku/normal/ToitoiChecker.js +0 -17
- package/dist/yaku/normal/ToitoiChecker.js.map +0 -1
- package/dist/yaku/normal/YakuhaiChecker.d.ts.map +0 -1
- package/dist/yaku/normal/YakuhaiChecker.js +0 -22
- package/dist/yaku/normal/YakuhaiChecker.js.map +0 -1
- package/dist/yaku/yakuman/ChinrotoChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/ChinrotoChecker.js +0 -13
- package/dist/yaku/yakuman/ChinrotoChecker.js.map +0 -1
- package/dist/yaku/yakuman/Churen9Checker.d.ts.map +0 -1
- package/dist/yaku/yakuman/Churen9Checker.js +0 -17
- package/dist/yaku/yakuman/Churen9Checker.js.map +0 -1
- package/dist/yaku/yakuman/ChurenChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/ChurenChecker.js.map +0 -1
- package/dist/yaku/yakuman/DaisangenChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/DaisangenChecker.js +0 -15
- package/dist/yaku/yakuman/DaisangenChecker.js.map +0 -1
- package/dist/yaku/yakuman/DaisushiChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/DaisushiChecker.js.map +0 -1
- package/dist/yaku/yakuman/ExtendedYakumanChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/ExtendedYakumanChecker.js +0 -18
- package/dist/yaku/yakuman/ExtendedYakumanChecker.js.map +0 -1
- package/dist/yaku/yakuman/Kokushi13Checker.d.ts.map +0 -1
- package/dist/yaku/yakuman/Kokushi13Checker.js +0 -17
- package/dist/yaku/yakuman/Kokushi13Checker.js.map +0 -1
- package/dist/yaku/yakuman/KokushiChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/KokushiChecker.js +0 -18
- package/dist/yaku/yakuman/KokushiChecker.js.map +0 -1
- package/dist/yaku/yakuman/RyuisoChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/RyuisoChecker.js.map +0 -1
- package/dist/yaku/yakuman/ShosushiChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/ShosushiChecker.js +0 -15
- package/dist/yaku/yakuman/ShosushiChecker.js.map +0 -1
- package/dist/yaku/yakuman/SuankoChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/SuankoChecker.js +0 -17
- package/dist/yaku/yakuman/SuankoChecker.js.map +0 -1
- package/dist/yaku/yakuman/SuankoTankiChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/SuankoTankiChecker.js +0 -28
- package/dist/yaku/yakuman/SuankoTankiChecker.js.map +0 -1
- package/dist/yaku/yakuman/SukantsuChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/SukantsuChecker.js +0 -12
- package/dist/yaku/yakuman/SukantsuChecker.js.map +0 -1
- package/dist/yaku/yakuman/TsuisoChecker.d.ts.map +0 -1
- package/dist/yaku/yakuman/TsuisoChecker.js +0 -13
- package/dist/yaku/yakuman/TsuisoChecker.js.map +0 -1
- /package/dist/{MahjongConsts.d.ts → modules/MahjongConsts.d.ts} +0 -0
- /package/dist/{tensuu → modules/tensuu}/TensuuResult.d.ts +0 -0
- /package/dist/{tileDefs.d.ts → modules/tileDefs.d.ts} +0 -0
package/modules/PlayerContext.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Hai } from "./Hai";
|
|
2
|
-
import { WinEvent } from "./MahjongConsts";
|
|
3
|
-
import { Wind } from "./tileDefs";
|
|
1
|
+
import { Hai } from "./Hai.js";
|
|
2
|
+
import { WinEvent } from "./MahjongConsts.js";
|
|
3
|
+
import { Wind } from "./tileDefs.js";
|
|
4
4
|
|
|
5
5
|
interface UserOptions {
|
|
6
6
|
agariHai: Hai
|
package/modules/PlayerHand.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Hai } from './Hai';
|
|
2
|
-
import { Meld } from './Meld';
|
|
3
|
-
import { MeldType } from './MahjongConsts';
|
|
1
|
+
import { Hai } from './Hai.js';
|
|
2
|
+
import { Meld } from './Meld.js';
|
|
3
|
+
import { MeldType } from './MahjongConsts.js';
|
|
4
4
|
|
|
5
5
|
export class PlayerHand {
|
|
6
6
|
private readonly tehai: Hai[];
|
package/modules/index.ts
CHANGED
|
@@ -11,4 +11,5 @@ export { YakuChecker } from './yaku/YakuChecker.js';
|
|
|
11
11
|
export { TILE } from './tileDefs.js';
|
|
12
12
|
export { ScoreResult } from './tensuu/ScoreResult.js';
|
|
13
13
|
export { MachiCalculator } from './MachiCalculator.js';
|
|
14
|
-
export * from './MahjongConsts.js';
|
|
14
|
+
export * from './MahjongConsts.js';
|
|
15
|
+
export type * from './tileDefs.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BlockHais } from '../BlockHais';
|
|
2
|
-
import { BlockType, MachiType, MeldType } from '../MahjongConsts';
|
|
3
|
-
import { MentsuAnalyzer } from '../MentsuAnalyzer';
|
|
4
|
-
import { YakuContext } from '../yaku/YakuContext';
|
|
5
|
-
import { FuDetail } from './FuDetail';
|
|
1
|
+
import { BlockHais } from '../BlockHais.js';
|
|
2
|
+
import { BlockType, MachiType, MeldType } from '../MahjongConsts.js';
|
|
3
|
+
import { MentsuAnalyzer } from '../MentsuAnalyzer.js';
|
|
4
|
+
import { YakuContext } from '../yaku/YakuContext.js';
|
|
5
|
+
import { FuDetail } from './FuDetail.js';
|
|
6
6
|
|
|
7
7
|
type MentsuFuSpec = {
|
|
8
8
|
yaochu: {name: string, fu: number};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { YakuContext } from '../yaku/YakuContext';
|
|
2
|
-
import { TensuuCalculator } from './TensuuCalculator';
|
|
3
|
-
import { FuCalculator } from './FuCalculator';
|
|
4
|
-
import { FuDetail } from './FuDetail';
|
|
5
|
-
import { ScoreResult } from './ScoreResult';
|
|
1
|
+
import { YakuContext } from '../yaku/YakuContext.js';
|
|
2
|
+
import { TensuuCalculator } from './TensuuCalculator.js';
|
|
3
|
+
import { FuCalculator } from './FuCalculator.js';
|
|
4
|
+
import { FuDetail } from './FuDetail.js';
|
|
5
|
+
import { ScoreResult } from './ScoreResult.js';
|
|
6
6
|
|
|
7
7
|
export class ScoreResolver{
|
|
8
8
|
private readonly context: YakuContext;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WinEvent } from '../MahjongConsts';
|
|
2
|
-
import { YakuContext } from './YakuContext';
|
|
3
|
-
import { NormalYakuCheckers } from './index';
|
|
1
|
+
import { WinEvent } from '../MahjongConsts.js';
|
|
2
|
+
import { YakuContext } from './YakuContext.js';
|
|
3
|
+
import { NormalYakuCheckers } from './index.js';
|
|
4
4
|
|
|
5
5
|
export class NormalYakuChecker{
|
|
6
6
|
protected readonly context: YakuContext;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { BlockHaisList } from '../BlockHaisList';
|
|
5
|
-
import { YakuContext } from './YakuContext';
|
|
6
|
-
import { NormalYakuChecker } from './NormalYakuChecker';
|
|
1
|
+
import { YakumanChecker } from './YakumanChecker.js';
|
|
2
|
+
import { YakuContext } from './YakuContext.js';
|
|
3
|
+
import { NormalYakuChecker } from './NormalYakuChecker.js';
|
|
7
4
|
|
|
8
5
|
export class YakuChecker {
|
|
9
6
|
private context: YakuContext
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Hai } from '../Hai';
|
|
2
|
-
import { YakuContext } from './YakuContext';
|
|
3
|
-
import { BlockHaisList } from '../BlockHaisList';
|
|
4
|
-
import { MachiCalculator } from '../MachiCalculator';
|
|
5
|
-
import { IMentsu } from '../IMentsu';
|
|
6
|
-
import { BlockType, MeldType, HaiType } from '../MahjongConsts';
|
|
7
|
-
import { MentsuAnalyzer } from '../MentsuAnalyzer';
|
|
1
|
+
import { Hai } from '../Hai.js';
|
|
2
|
+
import { YakuContext } from './YakuContext.js';
|
|
3
|
+
import { BlockHaisList } from '../BlockHaisList.js';
|
|
4
|
+
import { MachiCalculator } from '../MachiCalculator.js';
|
|
5
|
+
import { IMentsu } from '../IMentsu.js';
|
|
6
|
+
import { BlockType, MeldType, HaiType } from '../MahjongConsts.js';
|
|
7
|
+
import { MentsuAnalyzer } from '../MentsuAnalyzer.js';
|
|
8
8
|
|
|
9
9
|
export abstract class YakuCheckerBase {
|
|
10
10
|
protected readonly context: YakuContext;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Hai } from '../Hai';
|
|
2
|
-
import { Meld } from '../Meld';
|
|
3
|
-
import { PlayerHand } from '../PlayerHand';
|
|
4
|
-
import { PlayerContext } from '../PlayerContext';
|
|
5
|
-
import { BlockHaisList } from '../BlockHaisList';
|
|
1
|
+
import { Hai } from '../Hai.js';
|
|
2
|
+
import { Meld } from '../Meld.js';
|
|
3
|
+
import { PlayerHand } from '../PlayerHand.js';
|
|
4
|
+
import { PlayerContext } from '../PlayerContext.js';
|
|
5
|
+
import { BlockHaisList } from '../BlockHaisList.js';
|
|
6
6
|
|
|
7
7
|
export class YakuContext {
|
|
8
8
|
readonly hand: PlayerHand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WinEvent } from '../MahjongConsts';
|
|
2
|
-
import { YakuContext } from './YakuContext';
|
|
3
|
-
import { YakumanCheckers } from './index';
|
|
1
|
+
import { WinEvent } from '../MahjongConsts.js';
|
|
2
|
+
import { YakuContext } from './YakuContext.js';
|
|
3
|
+
import { YakumanCheckers } from './index.js';
|
|
4
4
|
|
|
5
5
|
export class YakumanChecker{
|
|
6
6
|
protected readonly context: YakuContext;
|
package/modules/yaku/index.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { YakuCheckerBase } from './YakuCheckerBase';
|
|
2
|
-
import { YakuContext } from './YakuContext';
|
|
3
|
-
import { TsuisoChecker } from './yakuman/TsuisoChecker';
|
|
4
|
-
import { ChinrotoChecker } from './yakuman/ChinrotoChecker';
|
|
5
|
-
import { RyuisoChecker } from './yakuman/RyuisoChecker';
|
|
6
|
-
import { SukantsuChecker } from './yakuman/SukantsuChecker';
|
|
7
|
-
import { ChurenChecker } from './yakuman/ChurenChecker';
|
|
8
|
-
import { Churen9Checker } from './yakuman/Churen9Checker';
|
|
9
|
-
import { SuankoChecker } from './yakuman/SuankoChecker';
|
|
10
|
-
import { SuankoTankiChecker } from './yakuman/SuankoTankiChecker';
|
|
11
|
-
import { KokushiChecker } from './yakuman/KokushiChecker';
|
|
12
|
-
import { Kokushi13Checker } from './yakuman/Kokushi13Checker';
|
|
13
|
-
import { DaisushiChecker } from './yakuman/DaisushiChecker';
|
|
14
|
-
import { ShosushiChecker } from './yakuman/ShosushiChecker';
|
|
15
|
-
import { DaisangenChecker } from './yakuman/DaisangenChecker';
|
|
1
|
+
import { YakuCheckerBase } from './YakuCheckerBase.js';
|
|
2
|
+
import { YakuContext } from './YakuContext.js';
|
|
3
|
+
import { TsuisoChecker } from './yakuman/TsuisoChecker.js';
|
|
4
|
+
import { ChinrotoChecker } from './yakuman/ChinrotoChecker.js';
|
|
5
|
+
import { RyuisoChecker } from './yakuman/RyuisoChecker.js';
|
|
6
|
+
import { SukantsuChecker } from './yakuman/SukantsuChecker.js';
|
|
7
|
+
import { ChurenChecker } from './yakuman/ChurenChecker.js';
|
|
8
|
+
import { Churen9Checker } from './yakuman/Churen9Checker.js';
|
|
9
|
+
import { SuankoChecker } from './yakuman/SuankoChecker.js';
|
|
10
|
+
import { SuankoTankiChecker } from './yakuman/SuankoTankiChecker.js';
|
|
11
|
+
import { KokushiChecker } from './yakuman/KokushiChecker.js';
|
|
12
|
+
import { Kokushi13Checker } from './yakuman/Kokushi13Checker.js';
|
|
13
|
+
import { DaisushiChecker } from './yakuman/DaisushiChecker.js';
|
|
14
|
+
import { ShosushiChecker } from './yakuman/ShosushiChecker.js';
|
|
15
|
+
import { DaisangenChecker } from './yakuman/DaisangenChecker.js';
|
|
16
16
|
|
|
17
|
-
import { ChinitsuChecker } from './normal/ChinitsuChecker';
|
|
18
|
-
import { HonitsuChecker } from './normal/HonitsuChecker';
|
|
19
|
-
import { JunchanChecker } from './normal/JunchanChecker';
|
|
20
|
-
import { HonchanChecker } from './normal/HonchanChecker';
|
|
21
|
-
import { HonrotoChecker } from './normal/HonrotoChecker';
|
|
22
|
-
import { RyanpekoChecker } from './normal/RyanpekoChecker';
|
|
23
|
-
import { ChitoitsuChecker } from './normal/ChitoitsuChecker';
|
|
24
|
-
import { SanankoChecker } from './normal/SanankoChecker';
|
|
25
|
-
import { ToitoiChecker } from './normal/ToitoiChecker';
|
|
26
|
-
import { IipekoChecker } from './normal/IipekoChecker';
|
|
27
|
-
import { ShosangenChecker } from './normal/ShosangenChecker';
|
|
28
|
-
import { SanshokuChecker } from './normal/SanshokuChecker';
|
|
29
|
-
import { DoukouChecker } from './normal/DoukouChecker';
|
|
30
|
-
import { IttsuuChecker } from './normal/IttsuuChecker';
|
|
31
|
-
import { TanyaoChecker } from './normal/TanyaoChecker';
|
|
32
|
-
import { SankantsuChecker } from './normal/SankantsuChecker';
|
|
33
|
-
import { MenzenTsumoChecker } from './normal/MenzenTsumoChecker';
|
|
34
|
-
import { PinfuChecker } from './normal/PinfuChecker';
|
|
35
|
-
import { RenpuuhaiChecker } from './normal/RenpuuhaiChecker';
|
|
36
|
-
import { YakuhaiChecker } from './normal/YakuhaiChecker';
|
|
37
|
-
import { KazehaiChecker } from './normal/KazehaiChecker';
|
|
17
|
+
import { ChinitsuChecker } from './normal/ChinitsuChecker.js';
|
|
18
|
+
import { HonitsuChecker } from './normal/HonitsuChecker.js';
|
|
19
|
+
import { JunchanChecker } from './normal/JunchanChecker.js';
|
|
20
|
+
import { HonchanChecker } from './normal/HonchanChecker.js';
|
|
21
|
+
import { HonrotoChecker } from './normal/HonrotoChecker.js';
|
|
22
|
+
import { RyanpekoChecker } from './normal/RyanpekoChecker.js';
|
|
23
|
+
import { ChitoitsuChecker } from './normal/ChitoitsuChecker.js';
|
|
24
|
+
import { SanankoChecker } from './normal/SanankoChecker.js';
|
|
25
|
+
import { ToitoiChecker } from './normal/ToitoiChecker.js';
|
|
26
|
+
import { IipekoChecker } from './normal/IipekoChecker.js';
|
|
27
|
+
import { ShosangenChecker } from './normal/ShosangenChecker.js';
|
|
28
|
+
import { SanshokuChecker } from './normal/SanshokuChecker.js';
|
|
29
|
+
import { DoukouChecker } from './normal/DoukouChecker.js';
|
|
30
|
+
import { IttsuuChecker } from './normal/IttsuuChecker.js';
|
|
31
|
+
import { TanyaoChecker } from './normal/TanyaoChecker.js';
|
|
32
|
+
import { SankantsuChecker } from './normal/SankantsuChecker.js';
|
|
33
|
+
import { MenzenTsumoChecker } from './normal/MenzenTsumoChecker.js';
|
|
34
|
+
import { PinfuChecker } from './normal/PinfuChecker.js';
|
|
35
|
+
import { RenpuuhaiChecker } from './normal/RenpuuhaiChecker.js';
|
|
36
|
+
import { YakuhaiChecker } from './normal/YakuhaiChecker.js';
|
|
37
|
+
import { KazehaiChecker } from './normal/KazehaiChecker.js';
|
|
38
38
|
|
|
39
39
|
export type YakuCheckerFactory =
|
|
40
40
|
(context: YakuContext) => YakuCheckerBase;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
4
3
|
|
|
5
4
|
export class ChinitsuChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "清一色";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { BlockType } from '../../MahjongConsts';
|
|
4
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { BlockType } from '../../MahjongConsts.js';
|
|
5
4
|
|
|
6
5
|
export class ChitoitsuChecker extends YakuCheckerBase{
|
|
7
6
|
protected yakuName: string = "七対子";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
3
|
|
|
4
4
|
export class DoukouChecker extends YakuCheckerBase{
|
|
5
5
|
protected yakuName: string = "三色同刻";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { IMentsu } from '../../IMentsu';
|
|
4
|
-
import { MentsuAnalyzer } from '../../MentsuAnalyzer';
|
|
5
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { IMentsu } from '../../IMentsu.js';
|
|
4
|
+
import { MentsuAnalyzer } from '../../MentsuAnalyzer.js';
|
|
6
5
|
|
|
7
6
|
export class HonchanChecker extends YakuCheckerBase{
|
|
8
7
|
protected yakuName: string = "混全帯么九";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { HaiType } from '../../MahjongConsts';
|
|
4
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { HaiType } from '../../MahjongConsts.js';
|
|
5
4
|
|
|
6
5
|
export class HonitsuChecker extends YakuCheckerBase{
|
|
7
6
|
protected yakuName: string = "混一色";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { IMentsu } from '../../IMentsu';
|
|
4
|
-
import { MentsuAnalyzer } from '../../MentsuAnalyzer';
|
|
5
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { IMentsu } from '../../IMentsu.js';
|
|
4
|
+
import { MentsuAnalyzer } from '../../MentsuAnalyzer.js';
|
|
6
5
|
|
|
7
6
|
export class HonrotoChecker extends YakuCheckerBase{
|
|
8
7
|
protected yakuName: string = "混老頭";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
4
3
|
|
|
5
4
|
export class IipekoChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "一盃口";
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { HaiType } from '../../MahjongConsts';
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
6
3
|
|
|
7
4
|
export class IttsuuChecker extends YakuCheckerBase{
|
|
8
5
|
protected yakuName: string = "一気通貫";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { IMentsu } from '../../IMentsu';
|
|
4
|
-
import { MentsuAnalyzer } from '../../MentsuAnalyzer';
|
|
5
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { IMentsu } from '../../IMentsu.js';
|
|
4
|
+
import { MentsuAnalyzer } from '../../MentsuAnalyzer.js';
|
|
6
5
|
|
|
7
6
|
export class JunchanChecker extends YakuCheckerBase{
|
|
8
7
|
protected yakuName: string = "純全帯么九";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { MentsuAnalyzer } from '../../MentsuAnalyzer';
|
|
4
|
-
import { Wind } from '../../tileDefs';
|
|
5
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { MentsuAnalyzer } from '../../MentsuAnalyzer.js';
|
|
4
|
+
import { Wind } from '../../tileDefs.js';
|
|
6
5
|
|
|
7
6
|
export class KazehaiChecker extends YakuCheckerBase{
|
|
8
7
|
protected yakuName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
3
|
|
|
4
4
|
export class MenzenTsumoChecker extends YakuCheckerBase{
|
|
5
5
|
protected yakuName: string = "門前清自摸和";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { BlockHais } from '../../BlockHais';
|
|
4
|
-
import { MachiType } from '../../MahjongConsts';
|
|
5
|
-
import { MentsuAnalyzer } from '../../MentsuAnalyzer';
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { BlockHais } from '../../BlockHais.js';
|
|
4
|
+
import { MachiType } from '../../MahjongConsts.js';
|
|
5
|
+
import { MentsuAnalyzer } from '../../MentsuAnalyzer.js';
|
|
6
6
|
|
|
7
7
|
export class PinfuChecker extends YakuCheckerBase{
|
|
8
8
|
protected yakuName: string = "平和";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { MentsuAnalyzer } from '../../MentsuAnalyzer';
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { MentsuAnalyzer } from '../../MentsuAnalyzer.js';
|
|
4
4
|
|
|
5
5
|
export class RenpuuhaiChecker extends YakuCheckerBase{
|
|
6
6
|
protected yakuName: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
4
3
|
|
|
5
4
|
export class RyanpekoChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "二盃口";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
4
3
|
|
|
5
4
|
export class SanankoChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "三暗刻";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
3
|
|
|
4
4
|
export class SankantsuChecker extends YakuCheckerBase{
|
|
5
5
|
protected yakuName: string = "三槓子";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
3
|
|
|
4
4
|
export class SanshokuChecker extends YakuCheckerBase{
|
|
5
5
|
protected yakuName: string = "三色同順";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
4
3
|
|
|
5
4
|
export class ShosangenChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "小三元";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
4
3
|
|
|
5
4
|
export class TanyaoChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "断么九";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
4
3
|
|
|
5
4
|
export class ToitoiChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "対々和";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { YakuContext } from '../YakuContext';
|
|
2
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
3
|
-
import { IMentsu } from '../../IMentsu';
|
|
4
|
-
import { MentsuAnalyzer } from '../../MentsuAnalyzer';
|
|
1
|
+
import { YakuContext } from '../YakuContext.js';
|
|
2
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
3
|
+
import { IMentsu } from '../../IMentsu.js';
|
|
4
|
+
import { MentsuAnalyzer } from '../../MentsuAnalyzer.js';
|
|
5
5
|
|
|
6
6
|
export class YakuhaiChecker extends YakuCheckerBase{
|
|
7
7
|
protected yakuName: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ExtendedYakumanChecker } from './ExtendedYakumanChecker';
|
|
2
|
-
import { YakuContext } from '../YakuContext';
|
|
3
|
-
import { ChurenChecker } from './ChurenChecker';
|
|
4
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
1
|
+
import { ExtendedYakumanChecker } from './ExtendedYakumanChecker.js';
|
|
2
|
+
import { YakuContext } from '../YakuContext.js';
|
|
3
|
+
import { ChurenChecker } from './ChurenChecker.js';
|
|
4
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
5
5
|
|
|
6
6
|
export class Churen9Checker extends ExtendedYakumanChecker{
|
|
7
7
|
protected yakuName: string = "純正九蓮宝燈";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
2
|
-
import { ChinitsuChecker } from '../normal/ChinitsuChecker';
|
|
3
|
-
|
|
1
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
2
|
+
import { ChinitsuChecker } from '../normal/ChinitsuChecker.js';
|
|
4
3
|
|
|
5
4
|
export class ChurenChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "九蓮宝燈";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
2
|
-
import { YakuContext } from '../YakuContext';
|
|
3
|
-
|
|
1
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
2
|
+
import { YakuContext } from '../YakuContext.js';
|
|
4
3
|
|
|
5
4
|
export class DaisushiChecker extends YakuCheckerBase{
|
|
6
5
|
protected yakuName: string = "大四喜";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
2
|
-
import { YakuContext } from '../YakuContext';
|
|
1
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
2
|
+
import { YakuContext } from '../YakuContext.js';
|
|
3
3
|
|
|
4
4
|
export abstract class ExtendedYakumanChecker extends YakuCheckerBase{
|
|
5
5
|
protected abstract baseChecker: YakuCheckerBase;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ExtendedYakumanChecker } from './ExtendedYakumanChecker';
|
|
2
|
-
import { YakuContext } from '../YakuContext';
|
|
3
|
-
import { KokushiChecker } from './KokushiChecker';
|
|
4
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
1
|
+
import { ExtendedYakumanChecker } from './ExtendedYakumanChecker.js';
|
|
2
|
+
import { YakuContext } from '../YakuContext.js';
|
|
3
|
+
import { KokushiChecker } from './KokushiChecker.js';
|
|
4
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
5
5
|
|
|
6
6
|
export class Kokushi13Checker extends ExtendedYakumanChecker{
|
|
7
7
|
protected yakuName: string = "国士無双13面待ち";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
2
|
-
import { BlockType } from '../../MahjongConsts';
|
|
1
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
2
|
+
import { BlockType } from '../../MahjongConsts.js';
|
|
3
3
|
|
|
4
4
|
export class KokushiChecker extends YakuCheckerBase{
|
|
5
5
|
protected yakuName: string = "国士無双";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { YakuCheckerBase } from '../YakuCheckerBase';
|
|
2
|
-
import { BlockType } from '../../MahjongConsts';
|
|
3
|
-
import { SuankoChecker } from './SuankoChecker';
|
|
4
|
-
import { YakuContext } from '../YakuContext';
|
|
5
|
-
|
|
1
|
+
import { YakuCheckerBase } from '../YakuCheckerBase.js';
|
|
2
|
+
import { BlockType } from '../../MahjongConsts.js';
|
|
3
|
+
import { SuankoChecker } from './SuankoChecker.js';
|
|
4
|
+
import { YakuContext } from '../YakuContext.js';
|
|
6
5
|
|
|
7
6
|
export class SuankoTankiChecker extends YakuCheckerBase{
|
|
8
7
|
protected yakuName: string = "四暗刻単騎";
|