Bug 506

Summary: Incorrect result when returning the currentPlayGetCardNoEqual_5 in printCurrentPlay() function in History Class
Product: 2021A-CS3343-Gp17-Big2PokerGame Reporter: yuenchong9-c
Component: HistoryAssignee: CHAN Tsz Yin <tychan423-c>
Status: CONFIRMED ---    
Severity: critical CC: hwchan58-c, kaschung4-c, waisumpo2-c, yuctam4-c, yuenchong9-c
Priority: Normal    
Version: 1.0   
Hardware: PC   
OS: Windows   

Description yuenchong9-c 2020-12-02 15:56:58 HKT

    
Comment 1 yuenchong9-c 2020-12-05 23:26:52 HKT
The function currentPlayGetCardNoEqual_5() is used to get all the cards that played in current play turn ,
so when I tried to play 5 cards and next player enter the command line to see the history , it found out that the history of my turn only exist 4 cards which is missing one card of my turn .
After fixing the bug , 5 cards will be displayed in the history and player can enter command 1 to see the history in their turn.