Reference · SVG boards and notation
SUGOROKU_BOARD_NAMESconstant
The names of the boards.
Import it
import { SUGOROKU_BOARD_NAMES } from "@johnmorrisdotca/sugoroku/draw";
Definition
const SUGOROKU_BOARD_NAMES: readonly SugorokuBoardName[] = ["green", "blue", "red", "black", "wood"]
Examples
import { SUGOROKU_BOARD_NAMES } from "@johnmorrisdotca/sugoroku/draw";
console.log(SUGOROKU_BOARD_NAMES);[ 'green', 'blue', 'red', 'black', 'wood' ]What it prints (run when this page was built)