Bug 429

Summary: It is found that the Rook chess movement is detetmined invalid when move to a valid position
Product: CS3343 2020 Group 9_Chinese Chess Reporter: FENG Yi <yfeng28-c>
Component: ChessGameAssignee: Marco <kaipewang2-c>
Status: CONFIRMED ---    
Severity: enhancement CC: guohan2-c, kaipewang2-c, longtduan2-c, yfeng28-c, yinuowang3-c, yujiawang7-c
Priority: ---    
Version: V2.0   
Hardware: PC   
OS: Windows   

Description FENG Yi 2020-11-21 22:41:21 HKT
Summary: The bug is found when I try to move a Rook chess from (0, 8) to (0, 9). The program prompted that the move of Rook is judged invalid. However, it is a valid movement.

Steps to Reproduce:
1. Run the program
2. Input command "new game"
3. Input command "0 0 0 1"
4. Input command "0 9 0 8"
5. Input command "0 1 0 0"
6. Input command "0 8 0 9"

Actual Results:
The program prompt "The move you want to make is invalid!"

Expected Results:
This move is judged valid and successfully performed. No error message will be shown.