CaptureChoicetype
Which capture a checkers-family player may choose, when more than one is on offer.
free: any of them. Capturing is still forced, and a sequence once begun is
still carried on while the same piece has another piece to take.
maximum: only a sequence that takes the most pieces available anywhere on
the board, men and kings counted alike — the majority rule of international
draughts and the games built on it.
Import it
import type { CaptureChoice } from "@johnmorrisdotca/narabe";
Definition
type CaptureChoice = "free" | "maximum";
Examples
import type { CaptureChoice } from "@johnmorrisdotca/narabe";
const value: CaptureChoice = "maximum";
console.log(value);maximumWhat it prints (run when this page was built)