Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Changeset
Next Changeset
→
Changeset 23
View differences
inline
side by side
Show
lines around each change
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
02/04/08 09:02:29 (
4 years
ago)
Author:
mike
Message:
winning works now
Files:
1 modified
hand.py
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
hand.py
r22
r23
14
14
#TODO add Ace support
15
15
kickers = [deck.CARDS[c] for c in hand[1] if c >= 0]
16
name = HAND_ORDERS
(hand[0])
16
name = HAND_ORDERS
[hand[0]]
17
17
if name == "high_card":
18
18
return "high card (%s) with kickers (%s)" % (kickers.pop(0),kickers)
Download in other formats:
Unified Diff
Zip Archive