MoveNarrowingtype
A rule that has narrowed the moves on offer below what the pieces could make: a capture that must be made, or carried on, instead of a step; or — where the game takes the most — the capture taking the most pieces, over shorter ones the pieces also have.
Import it
import type { MoveNarrowing } from "@johnmorrisdotca/narabe";
Definition
type MoveNarrowing = "capture" | "mostCaptured";
Examples
import type { MoveNarrowing } from "@johnmorrisdotca/narabe";
const value: MoveNarrowing = "capture";
console.log(value);captureWhat it prints (run when this page was built)