Created console class
This commit is contained in:
parent
5138f12048
commit
d87dd7c1e1
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue