This commit is contained in:
Maciej Caderek
2022-02-09 16:28:36 +01:00
parent 4785b61644
commit 20f415d70c
17 changed files with 343 additions and 47 deletions

View File

@@ -10,6 +10,7 @@ import boards from "./styles-board";
const defaultConfig: BoardConfig = {
size: 720,
tiles: 8,
boardStyle: boards.avocado,
piecesStyle: "gioco",
showBorder: true,
@@ -77,6 +78,7 @@ class Board {
this.cfg = cfg;
this.tiles = cfg.tiles;
this.extraInfo = cfg.showExtraInfo;
this.piecesStyle = cfg.piecesStyle;
this.showMaterial = cfg.showMaterial;