From fcc6cf5d4f18af5efb0c7f7e8475bf835581ea8e Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Thu, 21 May 2009 18:02:11 +0100 Subject: [PATCH] updated comment --- pyfpdb/Card.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyfpdb/Card.py b/pyfpdb/Card.py index 0d7f9d34..1aa18733 100755 --- a/pyfpdb/Card.py +++ b/pyfpdb/Card.py @@ -45,11 +45,12 @@ def twoStartCardString(card): else: return(s[y] + s[x] + 'o') def fourStartCards(value1, suit1, value2, suit2, value3, suit3, value4, suit4): - """ Function to convert 4 value,suit pairs into a Omaha style starting hand e.g. AAds - Hand is stored as an int 13 * x + y where (x+2) represents rank of 1st card and - (y+2) represents rank of second card (2=2 .. 14=Ace) - If x > y then pair is suited, if x < y then unsuited""" + """ Function to convert 4 value,suit pairs into a Omaha style starting hand, + haven't decided how to encode this yet """ # This doesn't actually do anything yet - CG + # What combinations do we need to store? just cards: AA23? some suits as well e.g. when + # double suited ATcKTd? Lots more possible combos than holdem :-( 270K vs 1326? not sure + # Probably need to use this field as a key into some other table - sc return(0) def cardFromValueSuit(value, suit):