import { createBoard } from "./engine/visual/createBoard.js" export let board = { element: document.getElementById("board"), size: 9, stones: {}, links: {}, } export function prepareBoard() { board.stones = [...Array(board.size)].map(_ => Array(board.size)) createBoard(board.size) }