TILE_BACKS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
THE BACKS OF THE TILES, drawn as SVG in the tile's own 30 by 40: what a tile lying face down shows. Five are drawn
here, each in the colours a real set's backs are made in: jade, the green of most sets, with a lattice; bamboo,
the colour of the bamboo that old sets were backed with, with its grain and nodes; blue and red, flat colours
with a ring; and ink, near black with a field of dots. A design brings its own as well (riichi, riichi-black),
named like the design. Any of the five may be given a colour of its own and a few letters of writing.
インポート
import { TILE_BACKS } from "@johnmorrisdotca/jarajara/faces";
定義
const TILE_BACKS: readonly ["jade", "bamboo", "blue", "red", "ink"] = ["jade", "bamboo", "blue", "red", "ink"] as const
例
import { TILE_BACKS } from "@johnmorrisdotca/jarajara/faces";
console.log(TILE_BACKS);[ 'jade', 'bamboo', 'blue', 'red', 'ink' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。