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 · SVG boards and notation

SugorokuBoardNametype

A named board, a set of colours for the board and its points.

Import it

import type { SugorokuBoardName } from "@johnmorrisdotca/sugoroku/draw";

Definition

type SugorokuBoardName = "green" | "blue" | "red" | "black" | "wood";

Examples

import type { SugorokuBoardName } from "@johnmorrisdotca/sugoroku/draw";

const value: SugorokuBoardName = "wood";
console.log(value);
wood

What it prints (run when this page was built)

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