本文整理汇总了Python中hand.Hand.mentsu方法的典型用法代码示例。如果您正苦于以下问题:Python Hand.mentsu方法的具体用法?Python Hand.mentsu怎么用?Python Hand.mentsu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类hand.Hand
的用法示例。
在下文中一共展示了Hand.mentsu方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: print
# 需要导入模块: from hand import Hand [as 别名]
# 或者: from hand.Hand import mentsu [as 别名]
print('鳴き')
hand.trash(Hai.valueAt(2))
print(a.naki_candidates(hand,
player,
Hai.valueAt(0)))
print()
#点数チェック
hand = Hand(deck, player, test=[0,0,0,1,1,1,2,3])
player.kaze = Kaze.valueOf("oya")
player.make_hand(hand)
hand.show_hand()
horahand = a.hora_flag(hand.contents, hand.ronhai, hand.furo)
print(horahand)
hand.head = horahand.head
hand.mentsu = horahand.mentsu_list
hand.agarihai = Hai.valueAt(1)
# hand.machi_type_candidate, hand.machi_type = a.machi_type_check(hand)
# hand.yaku, hand.hansu ,hand.fu = a.yaku_check(hand, player)
# hand.fu = a.fu_check(hand)
# hand.ten = a.ten_check(hand, player)
# print(hand.ten)
#pinfu ipeiko check
hand = Hand(deck, player, test=[0,0,2,2,3,3,4,4])
player.kaze = Kaze.valueOf("oya")
player.make_hand(hand)
hand.show_hand()
horahand = a.hora_flag(hand.contents, Hai.valueAt(2))
print(horahand.ipeiko)