turn reset to 0

This commit is contained in:
Jérôme BEDIER 2025-05-06 15:48:33 +02:00
parent efd4d69f99
commit b1305e9728
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,6 @@ public class Board {
private int n;
private int selectedX = -1;
private int selectedY = -1;
public Board(int colNum, int lineNum) {
this.width = colNum; // col move x
this.height = lineNum; // line mov in y
@ -77,6 +76,7 @@ public class Board {
}
public void cleanBoard() {
turn = 0;
this.board = new Piece[width][height]; // should work ?
//this.isTurnWhite = true;
} // force