コード例 #1
0
ファイル: Omaha.py プロジェクト: thecowboy/pyPoker
    def __init__(self, cards = None, board = None):
	"""Create a Omaha hand.
	cards should be None or an array of up to four cards.
	board should be a Board object."""
	CommunityCardHand.__init__(self, cards, board = board)
コード例 #2
0
ファイル: HoldEm.py プロジェクト: von/pyPoker
    def __init__(self, cards = None, board = None):
	"""Create a Texas Hold'Em hand.
	cards should be none or an array of up to two cards.
	board should be a Board object."""
	CommunityCardHand.__init__(self, cards, board = board)