commit step 1 2 and 3

This commit is contained in:
rheaa 2025-04-08 11:18:05 +02:00
parent 06f3459113
commit 61c5de7ee3
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class Board {
highlightedSquares.clear(); highlightedSquares.clear();
moveHistory.clear(); moveHistory.clear();
} }
//create the board
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
for (int y = 0; y < height; y++) { for (int y = 0; y < height; y++) {
@ -309,4 +309,5 @@ public class Board {
} }
} }
} }
} }