boardSizesForfunction
The board sizes a variant plays on, smallest first — the order they are drawn in.
Import it
import { boardSizesFor } from "@johnmorrisdotca/narabe";
Definition
function boardSizesFor(variant: RuleVariant): readonly number[]
Parameters
| Name | Type | Description |
|---|---|---|
variant | RuleVariant | The native rule variant identifier. |
Returns
readonly number[]
The board sizes a variant plays on, smallest first — the order they are drawn in.
Examples
import { boardSizesFor } from "@johnmorrisdotca/narabe";
console.log(boardSizesFor("go"));[ 9, 13, 19 ]What it prints (run when this page was built)