Bug 331

Summary: Player cannot play out a QUAD with a PAIR as kicker
Product: Bro_Doudizhu Reporter: chunxiaye2-c
Component: entitiesAssignee: chunxiaye2-c
Status: RESOLVED FIXED    
Severity: critical CC: guahuang2-c
Priority: ---    
Version: v_1.0   
Hardware: PC   
OS: Windows   

Description chunxiaye2-c 2019-12-03 14:53:04 HKT
Precondition:
The player wants to play out the hand that is a QUAD with a PAIR as kicker, e.g. 3333 + 44

The cards2hand() method inside the Hand class judges this hand as ILLEGAL. However, according to the rule of the game, this is a valid hand. The bug is reproducible simply by playing out a a QUAD with a PAIR as kicker on the terminal.
Comment 1 chunxiaye2-c 2019-12-05 10:44:40 HKT
Inside Hand.carsd2Hand() method, this situation was neglected and such that was judged as Illegal.