Skip to the content

Sugoroku双六

Play backgammon and its relatives with native rules, cube and match scoring, seeded dice and replayable records.

Sugoroku is the Japanese name 双六 for games of tables. About the name

Contents

Reference · Rules, games and records

Sidetype

THE TWO SIDES. A game has a white and a black player. Every count in a position is kept per side, in that side's own numbering of the points: a side's own point 1 is the one nearest its bearing-off, its own point 24 the one farthest from it, whichever way the board is drawn.

Import it

import type { Side } from "@johnmorrisdotca/sugoroku";

Definition

type Side = "white" | "black";

Examples

import type { Side } from "@johnmorrisdotca/sugoroku";

const value: Side = "white";
console.log(value);
white

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/sugoroku 1.1.1.