Changeset 22 for holdemtable.py

Show
Ignore:
Timestamp:
02/04/08 08:53:57 (4 years ago)
Author:
mike
Message:

Added hand formatting for text output

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • holdemtable.py

    r21 r22  
    138138            hands.sort(cmp = lambda a,b: cmp(a[1],b[1])) 
    139139            winner = hands.pop() 
    140             print "%s winds the hand with %s" % (winner[0], hand.HAND_ORDERS[winner[1][0]]) 
     140            print "%s withs with %s" % (winner[0],hand.format_hand(winner[1])) 
    141141 
    142142