()
| 122 | } |
| 123 | |
| 124 | public void printBoard() { |
| 125 | for (int r = 0; r < board.length; r++) { |
| 126 | for (int c = 0; c < board[r].length; c++) { |
| 127 | if (board[r][c] == null) { |
| 128 | System.out.print("_"); |
| 129 | } else if (board[r][c].getColor() == Color.White) { |
| 130 | System.out.print("W"); |
| 131 | } else { |
| 132 | System.out.print("B"); |
| 133 | } |
| 134 | } |
| 135 | System.out.println(); |
| 136 | } |
| 137 | } |
| 138 | } |
no test coverage detected