Open teteeee opened 4 months ago
The sample of "tiles" when Kan is misleading.
wrong:
tiles = self.TilesConverter.string_to_136_array(honors='11133555666777') win_tile = self.TilesConverter.string_to_136_array(honors='3')[0] melds = [ Meld(meld_type=Meld.KAN, tiles=TilesConverter.string_to_136_array(honors='1111'), opened=False), Meld(meld_type=Meld.KAN, tiles=TilesConverter.string_to_136_array(honors='5555'), opened=False), Meld(meld_type=Meld.KAN, tiles=TilesConverter.string_to_136_array(honors='6666'), opened=False), Meld(meld_type=Meld.KAN, tiles=TilesConverter.string_to_136_array(honors='7777'), opened=False), ]
correct:
tiles = self.TilesConverter.string_to_136_array(honors='111133555566667777') win_tile = self.TilesConverter.string_to_136_array(honors='3')[0] melds = [ Meld(meld_type=Meld.KAN, tiles=TilesConverter.string_to_136_array(honors='1111'), opened=False), Meld(meld_type=Meld.KAN, tiles=TilesConverter.string_to_136_array(honors='5555'), opened=False), Meld(meld_type=Meld.KAN, tiles=TilesConverter.string_to_136_array(honors='6666'), opened=False), Meld(meld_type=Meld.KAN, tiles=TilesConverter.string_to_136_array(honors='7777'), opened=False), ]
The sample of "tiles" when Kan is misleading.
wrong:
correct: