loading file

This commit is contained in:
Admin 2025-05-21 20:01:14 +02:00
parent 03c045380c
commit 85ceead618
2 changed files with 0 additions and 7 deletions

View File

@ -252,13 +252,6 @@ public class Board {
this.height = 8; this.height = 8;
this.pieces = new ArrayList<>(); this.pieces = new ArrayList<>();
if (array == null || array.length < 9) {
this.turnNumber = 0;
this.isWhiteTurn = true;
populateBoard();
return;
}
for (int y = 0; y < height; y++) { for (int y = 0; y < height; y++) {
if (y >= array.length) { if (y >= array.length) {
y = height; y = height;