From 0049cfbd3c90bc0a8965980de24624145cf047b2 Mon Sep 17 00:00:00 2001 From: Worros Date: Wed, 22 Sep 2010 16:35:26 +0800 Subject: [PATCH] Card.py: Adding random function and comment --- pyfpdb/Card.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pyfpdb/Card.py b/pyfpdb/Card.py index 576a7b38..a6292c18 100755 --- a/pyfpdb/Card.py +++ b/pyfpdb/Card.py @@ -163,6 +163,22 @@ def encodeCard(cardString): if cardString not in encodeCardList: return 0 return encodeCardList[cardString] +def encodeRazzStartHand(cards): +"""No idea how this is actually going to work, figured i'd record the top 10 + starting hands anyway +""" + pass +#A, 2, 3 +#A, 2, 4 +#A, 2, 5 +#A, 3, 4 +#2, 3, 4 +#A, 3, 5 +#A, 4, 5 +#2, 3, 5 +#2, 4, 5 +#A, 2, 6 + if __name__ == '__main__': print _("fpdb card encoding(same as pokersource)") for i in xrange(1, 14):