Skip to the content

Narabe並べ

Play fifty-two abstract board games through immutable moves, legal choices and replayable records.

Narabe means arranging in Japanese, as in gomoku-narabe: five in a row. About the name

Contents

Reference · Rules and records

MoverRulestype

Which of the moving games' rules a game plays by (rules/movers.ts).

Import it

import type { MoverRules } from "@johnmorrisdotca/narabe";

Definition

type MoverRules = "breakthrough" | "linesOfAction" | "amazons";

Examples

import type { MoverRules } from "@johnmorrisdotca/narabe";

const value: MoverRules = "breakthrough";
console.log(value);
breakthrough

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/narabe 1.4.0.