Bug 522 - 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
Summary: It is found that, if the player move a piece which lead to the king of Red pi...
Status: RESOLVED DUPLICATE of bug 410
Alias: None
Product: CS3343 2020 Group 9_Chinese Chess
Classification: Unclassified
Component: ChessGame (show other bugs)
Version: V2.0
Hardware: PC Mac OS
: --- enhancement
Assignee: FENG Yi
URL:
Depends on:
Blocks:
 
Reported: 2020-12-06 14:53 HKT by FENG Yi
Modified: 2020-12-06 23:09 HKT (History)
6 users (show)

See Also:


Attachments

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