diff --git a/OOP_2B1_Project/src/backend/Board.java b/OOP_2B1_Project/src/backend/Board.java index b9b924a..40430a8 100644 --- a/OOP_2B1_Project/src/backend/Board.java +++ b/OOP_2B1_Project/src/backend/Board.java @@ -16,6 +16,8 @@ private int x; private int y; private PieceType type; private boolean isWhite; +private boolean isruenwhite; +private int turnnumber; @@ -24,6 +26,7 @@ private boolean isWhite; this.Width=colNum; this.Height=lineNum; this.pieces= new ArrayList <> (); + this.turnnumber= 0;