Const
Default IState seeded before IConfig.state merges. Shipped as a named runtime export from the package barrel.
const state = { ...INITIAL_STATE, activeCoords: [2, 0] };const grid = new GameGrid({ matrix, state }); Copy
const state = { ...INITIAL_STATE, activeCoords: [2, 0] };const grid = new GameGrid({ matrix, state });
Default IState seeded before IConfig.state merges. Shipped as a named runtime export from the package barrel.