LineRuletype
What a completed line has to look like to win.
atLeast: winLength or longer.
exact: precisely winLength; an overline is not a win.
exactOpen: precisely winLength, and not shut in at both ends.
Import it
import type { LineRule } from "@johnmorrisdotca/narabe";
Definition
type LineRule = "atLeast" | "exact" | "exactOpen";
Examples
import type { LineRule } from "@johnmorrisdotca/narabe";
const value: LineRule = "exact";
console.log(value);exactWhat it prints (run when this page was built)