This commit is contained in:
mathy 2025-05-06 17:04:32 +02:00
commit c6c29dfb94
1 changed files with 2 additions and 2 deletions

View File

@ -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<int[]> highlightedPositions = new ArrayList<>(); // list of valid positions to highlight