turn number -1 when undo last move

This commit is contained in:
marce 2025-05-13 19:18:49 +02:00
parent 03c0514f0c
commit a52bf87ec6
1 changed files with 1 additions and 0 deletions

View File

@ -314,6 +314,7 @@ public class Board implements Cloneable {
pieces = boardHistory.getLast();
boardHistory.removeLast();
turnNumber--;
}
public Board(Board board) {