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 · Playable board

SugorokuLanguagetype

THE WORDS A SUGOROKU BOARD SAYS, in English and Japanese: the buttons, the line that says whose turn it is and what to do, and the result of a game. Plain data, so a page can read them, replace a few or add a language of its own beside these two.

{name} in a line is a value filled in. The Japanese is a first draft that no native reader has yet checked.

Import it

import type { SugorokuLanguage } from "@johnmorrisdotca/sugoroku/play";

Definition

type SugorokuLanguage = "en" | "ja";

Examples

import type { SugorokuLanguage } from "@johnmorrisdotca/sugoroku/play";

const value: SugorokuLanguage = "ja";
console.log(value);
ja

What it prints (run when this page was built)

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