diff --git a/src/board/Board.ts b/src/board/Board.ts index 6190fc1..2201d02 100644 --- a/src/board/Board.ts +++ b/src/board/Board.ts @@ -43,9 +43,11 @@ class Board { private background: HTMLCanvasElement | null = null; private extraInfo: boolean = true; private piecesStyle: PiecesStyle = "tatiana"; + // @ts-ignore private showMaterial: boolean = true; private showMoveIndicator: boolean = true; private showCoords: boolean = true; + // @ts-ignore private showChecks: boolean = true; private currentScreen: "title" | "move" = "move"; diff --git a/src/main.ts b/src/main.ts index b629df6..c214cda 100644 --- a/src/main.ts +++ b/src/main.ts @@ -63,7 +63,7 @@ const main = async () => { const player = new Player(board, gameConfig); const game = new Game().loadPGN(pgn); - const moves = new Moves($moves as HTMLElement, player).load(game.getMoves()); + new Moves($moves as HTMLElement, player).load(game.getMoves()); // @ts-ignore window.game = game;