Summary: | kpoker identifies only one pair | ||
---|---|---|---|
Product: | [Applications] kpoker | Reporter: | Yotam Frechter <frechter> |
Component: | general | Assignee: | Andreas Beckermann <b_mann> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.7 | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Yotam Frechter
2003-12-20 08:57:27 UTC
Ia have teh same problem - it should be the black spide ace that's not counted might be some loop where the last element is skipped Please fix it CVS commit by ingwa: Completely rewrite of the valuation of a poker hand. This patch fixes all valuation bugs as far as I know, and it is tested pretty thoroughly. I played so much that I managed to once get four Aces(!) and once a straight flush(!!). Never got a royal flush, though. There are still a couple of debug messages left for other testers than me. I will remove them in a few days. Refer to bug 30272 - Error picking winner when both players have 2-pair hands Refer to bug 70903 - kpoker identifies only one pair Refer to bug 71693 - all cards are blinking (computer have just two pairs) CCMAIL: 30272-done@bugs.kde.org CCMAIL: 70903-done@bugs.kde.org CCMAIL: 71693-done@bugs.kde.org M +28 -2 kpaint.cpp 1.23 M +51 -0 kpoker.cpp 1.72 M +0 -17 kpoker.h 1.33 M +521 -18 player.cpp 1.14 M +193 -9 player.h 1.9 M +6 -1 playerbox.cpp 1.10 M +30 -0 testers.cpp 1.7 |