Bug 525

Summary: It is found that there was no coordinate for user's reference, so that they have to count to get the coordinate.
Product: CS3343 2020 Group 9_Chinese Chess Reporter: DUAN Longteng <longtduan2-c>
Component: ChessGameAssignee: DUAN Longteng <longtduan2-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   
Deadline: 2020-10-16   

Description DUAN Longteng 2020-12-06 18:31:18 HKT
Summary:
It is found that when user tries to input the chess to move, they found that there was no coordinate for them to refer to.

Steps to Reproduce:
1. Run the program
2. Input command "new game"

Actual Result:
A chessboard without coordinate will be printed.

Expected Result:
A chessboard with coordinate should be printed
Comment 1 DUAN Longteng 2020-12-06 18:34:14 HKT
The problem is located in printChessBoard() function in ChessBoard class, I add the coordiante to it, problem solved
Comment 2 DUAN Longteng 2020-12-06 18:55:10 HKT
(In reply to DUAN Longteng from comment #0)
> Summary:
> It is found that when user tries to input the chess to move, they found that
> there was no coordinate for them to refer to.
> 
> Steps to Reproduce:
> 1. Run the program
> 2. Input command "new game"
> 
> Actual Result:
> A chessboard without coordinate will be printed.
> 
> Expected Result:
> A chessboard with coordinate should be printed

The new chessboard looks like:
3 chess chess chess

2 chess chess chess

1 chess chess chess

0 chess chess chess
    0     1     2