Bug 429 - It is found that the Rook chess movement is detetmined invalid when move to a valid position
Summary: It is found that the Rook chess movement is detetmined invalid when move to a...
Status: CONFIRMED
Alias: None
Product: CS3343 2020 Group 9_Chinese Chess
Classification: Unclassified
Component: ChessGame (show other bugs)
Version: V2.0
Hardware: PC Windows
: --- enhancement
Assignee: Marco
URL:
Depends on:
Blocks:
 
Reported: 2020-11-21 22:41 HKT by FENG Yi
Modified: 2020-12-06 21:15 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-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.