MahjongCells型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The tiles as they lie: a face code for each slot of the layout, "." where the tile has been taken. The same string the givens are written as.
インポート
import type { MahjongCells } from "@johnmorrisdotca/jarajara";
定義
type MahjongCells = string;
例
import { generateAwase } from "@johnmorrisdotca/jarajara/awase";
import type { MahjongCells } from "@johnmorrisdotca/jarajara";
const deal = generateAwase(4,"easy",2026);
const cells = deal.givens;
const value: MahjongCells = cells;
console.log(value);xPNxDBBD出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。