Reference · Rules, solvers and generation
SatColourstype
How a cell's pair is written as variables: a variable for each pair (the way every level to 15×15 was proved), or a binary number, which a board of many pairs can afford.
Import it
import type { SatColours } from "@johnmorrisdotca/tsunagi";
Definition
type SatColours = "one-hot" | "binary";
Examples
import type { SatColours } from "@johnmorrisdotca/tsunagi";
const value: SatColours = "one-hot";
console.log(value);one-hotWhat it prints (run when this page was built)