From b8f88661f39af75e347400884fff6b00e82b7abf Mon Sep 17 00:00:00 2001 From: eblade Date: Fri, 20 Feb 2009 03:33:25 -0500 Subject: [PATCH] Add comment to Hand.py, around addCollectPot(). Please look at that, Matt. --- pyfpdb/Hand.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index 35476bdf..b902dd67 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -308,6 +308,13 @@ Add a raise on [street] by [player] to [amountTo] self.checkPlayerExists(player) self.actions[street].append((player, 'checks')) +# dart1 wins $ 51.09 USD from main pot with a full house, queens full of threes [ Qh, Qc, Qd, 3c, 3s ] +# dart1 wins $ 41.07 USD from side pot with a full house, queens full of threes [ Qh, Qc, Qd, 3c, 3s ] +# DEBUG: dart1 collected 51.09 +# DEBUG: dart1 collected 41.07 +# [WARNING] %s collected pot more than once; avoidable by reading winnings only from summary lines? +# TODO: Should we just add the pots together?? + def addCollectPot(self,player, pot): print "DEBUG: %s collected %s" % (player, pot) self.checkPlayerExists(player)