Bug 522

Summary: It is found that, if the player move a piece which lead to the king of Red pieces and the king of Black pieces on the same column, with no other pieces in between them, the movement is valid
Product: CS3343 2020 Group 9_Chinese Chess Reporter: FENG Yi <yfeng28-c>
Component: ChessGameAssignee: FENG Yi <yfeng28-c>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: guohan2-c, kaipewang2-c, longtduan2-c, yfeng28-c, yinuowang3-c, yujiawang7-c
Priority: ---    
Version: V2.0   
Hardware: PC   
OS: Mac OS   

Description FENG Yi 2020-12-06 14:53:37 HKT

    
Comment 1 FENG Yi 2020-12-06 14:57:29 HKT
Steps to Reproduce:
1. Run the program
2. Input "new game"
3. Input "4 3 4 4"
4. Input "4 6 4 5"
5. Input "4 4 4 5"
6. Input "4 9 4 8"
7. Input "4 5 4 6"
8. Input "0 9 0 8"
8. Input "4 6 4 7"
8. Input "4 8 4 7"

Actual Result:
The move "4 8 4 7" is done.

Expected Result:
The movement is invalid.
Comment 2 DUAN Longteng 2020-12-06 23:09:45 HKT

*** This bug has been marked as a duplicate of bug 410 ***