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

packagedSoundsfunction

The sounds' addresses beside the package's code, or an empty set where import.meta.url is not an address (some test runners).

Import it

import { packagedSounds } from "@johnmorrisdotca/sugoroku/play";

Definition

function packagedSounds(): SoundUrls

Returns

Partial<Record<SoundName, string>>

The sounds' addresses beside the package's code, or an empty set where import.meta.url is not an address (some test runners).

Examples

import { packagedSounds } from "@johnmorrisdotca/sugoroku/play";

console.log(Object.keys(packagedSounds()));
[ 'clack', 'hit', 'dice', 'cube' ]

What it prints (run when this page was built)

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