Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 1 addition & 29 deletions Chess/src/general/Board.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,35 +67,7 @@ public Board() {
// System.out.println();
// }

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a comment


// /**
// * Shows the current game state which is 8x8 board with pieces on it.
// * Shows notation on each side.
// * For text based version.
// */
// public void showGameStateWithNotation() {
// System.out.println();
// System.out.println(" a b c d e f g h"); //alphabetic notation
// System.out.println(" ###########################");
// for (int i=0; i<=7; i++) { //rows
// System.out.print(8-i+" #|"); //all rows begin with a divider
// for (int j=0; j<=7; j++) { //columns
// if (board[i][j] == null) { //if empty square
// System.out.print(" "); //print empty string
// System.out.print("|"); //print divider
// } else {
// System.out.print(board[i][j].getAcronym()); //print acronym
// System.out.print("|"); //print divider
// }
// }
// System.out.println("# " +(8-i)); //next row
// if (i!=7) {
// System.out.println(" #|-----------------------|#"); //linebreak between rows
// }
// }
// System.out.println(" ###########################");
// System.out.println(" a b c d e f g h"); //alphabetic notation
// System.out.println();
// }


/**
* Forms notation from x and y.
Expand Down