diff --git a/src/backend/Board.java b/src/backend/Board.java index 2ab145a..a94eb47 100644 --- a/src/backend/Board.java +++ b/src/backend/Board.java @@ -8,8 +8,8 @@ public class Board { private int selectedY = -1; private int turnNumber = 0; // tracks current turn - private int width; // enables to define the dimensions of board - private int height; + public int width; // enables to define the dimensions of board (public because used in console) + public int height; private Piece[][] board; // 2D array chess board private ArrayList highlightedPositions = new ArrayList<>(); // list of valid positions to highlight