Bug 71693 - all cards are blinking (computer have just two pairs)
Summary: all cards are blinking (computer have just two pairs)
Status: RESOLVED FIXED
Alias: None
Product: kpoker
Classification: Applications
Component: general (show other bugs)
Version: 0.7
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Beckermann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-02 19:54 UTC by Yotam Frechter
Modified: 2004-08-26 23:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yotam Frechter 2004-01-02 19:54:07 UTC
Version:           0.7 (using KDE 3.1.0)
Installed from:    Mandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
OS:          Linux (i686) release 2.4.21-0.25mdk

situation is as follows:

my hand is:                 Q 10 j 10 j 

the computer hand is:   K 8   K Q 8  (ALL HAND BLINKING!)

so the computer wins, which is ok - but why do all of the computer cards blink? 

if it is the two pairs K-K and 8-8 that wins, only these cards should blink.
Comment 1 Mathieu Jobin 2004-08-22 01:49:35 UTC
can you reproduce ? 
i got 6-10-9-10-K and the computer 9-8-5-8-5, only the two pair blinks
Comment 2 Inge Wallin 2004-08-26 23:00:12 UTC
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