Bug 525 - It is found that there was no coordinate for user's reference, so that they have to count to get the coordinate.
Summary: It is found that there was no coordinate for user's reference, so that they h...
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
Deadline: 2020-10-16
Assignee: DUAN Longteng
URL:
Depends on:
Blocks:
 
Reported: 2020-12-06 18:31 HKT by DUAN Longteng
Modified: 2020-12-06 21:16 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 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