Test Case 10:
Input: checking the move of the kills performed each and every piece.
Status: Performed
Output: It is satisfying the rules of the game if any other move that is not a valid move for killing is performed an dialog box will be displayed, the dialog boxes for the test cases are shown below the screen shots for the test cases.
In the above figures when the white pawn is in a castle position with the black pawn according to the rules of chess it can kill the opponent piece.
Similarly in the case of the king.
In the above figures when the white pawn is in a castle position with the black pawn according to the rules of chess it can kill the opponent piece.
Like above each and every piece is following its rule which are shown below
Staring with knight:
Similarly with Rook:
Similarly with Bishop:
And finally the Queen:
Test Case 11:
Input: when it is a check for the king.
Status: Performed
Output: if there was a check for the king then the system should allow any other moves except king if any other move has been made a message has to be displayed.
When there is any other move that is leading for check would be cautioned by a message box as shown below