This commit is contained in:
Maciej Caderek
2022-01-28 23:45:40 +01:00
parent e000a0083a
commit a7c2d09c96
6 changed files with 53 additions and 10 deletions

View File

@@ -163,8 +163,8 @@ const main = async () => {
// const hash = window.location.hash;
// const pgn = hash === "" ? null : decompressPGN(hash.slice(1));
// const pgn = pgns[pgns.length - 1];
const pgn = pgns[2];
const pgn = pgns[pgns.length - 1];
// const pgn = pgns[2];
const board = new Board(boardConfig);
$app?.appendChild(board.canvas);