BOARD_GRIDSconstant
Where a game's stones sit when it is drawn its own way: on the crossings, or in the squares.
Import it
import { BOARD_GRIDS } from "@johnmorrisdotca/narabe";
Definition
const BOARD_GRIDS: { readonly lines: "lines"; readonly cells: "cells"; } = {
lines: "lines",
cells: "cells",
} as const satisfies Record<BoardGrid, BoardGrid>
Members
| Name | Type | Description |
|---|---|---|
lines | "lines" | |
cells | "cells" |
Examples
import { BOARD_GRIDS } from "@johnmorrisdotca/narabe";
console.log(BOARD_GRIDS);{ lines: 'lines', cells: 'cells' }What it prints (run when this page was built)