def river(): """模拟发5张公牌 """ deck = Deck() board = deck.deal_hands(5) myhand = deck.deal_hands(2) return myhand, board, deck
def flop(): """模拟发3张公牌 """ deck = Deck() board = deck.deal_hands(3) myhand = deck.deal_hands(2) return myhand, board, deck
def turn(): """模拟发4张公牌 """ deck = Deck() board = deck.deal_hands(4) myhand = deck.deal_hands(2) return myhand, board, deck