ChessBoardInterface constructor
Implementation
ChessBoardInterface({this.fen, this.timeLimit, this.onTimeOut}) {
initFEN(fen ?? initialFENState);
if (timeLimit != null) switchTimer();
// Initialize taken pieces for the starting position.
_rebuildTakenPiecesFromHistory();
}