switch column and row in toString method
This commit is contained in:
parent
a05d192a18
commit
093ce11e8a
|
|
@ -76,7 +76,7 @@ public class Board {
|
|||
for (int row = height - 1; row >= 0; row--) {
|
||||
|
||||
for (int column = 0; column < width; column++) {
|
||||
Piece piece = board[row][column];
|
||||
Piece piece = board[column][row];
|
||||
if (piece == null) {
|
||||
stringboard.append(". ");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue