Clear move history on setup

main
Elnu 2 years ago
parent 101054091d
commit 9fbc09ea07

@ -63,6 +63,9 @@ public class Board {
} }
public void setup() { public void setup() {
// Clear move history
moveHistory.clear();
// Initialize board // Initialize board
board = new Piece[BOARD_SIZE][BOARD_SIZE]; board = new Piece[BOARD_SIZE][BOARD_SIZE];