Bug 506 - Incorrect result when returning the currentPlayGetCardNoEqual_5 in printCurrentPlay() function in History Class
Summary: Incorrect result when returning the currentPlayGetCardNoEqual_5 in printCurre...
Status: CONFIRMED
Alias: None
Product: 2021A-CS3343-Gp17-Big2PokerGame
Classification: Unclassified
Component: History (show other bugs)
Version: 1.0
Hardware: PC Windows
: Normal critical
Assignee: CHAN Tsz Yin
URL:
Depends on:
Blocks:
 
Reported: 2020-12-02 15:56 HKT by yuenchong9-c
Modified: 2020-12-05 23:26 HKT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.