Allowed fields when merging initial grid GameGrid state.
const grid = new GameGrid({ matrix, state: { activeCoords: [1, 0], currentDirection: directionEnum.RIGHT },}); Copy
const grid = new GameGrid({ matrix, state: { activeCoords: [1, 0], currentDirection: directionEnum.RIGHT },});
Optional
Allowed fields when merging initial grid GameGrid state.
Example