本文へ移動

Jarajaraジャラジャラ

麻雀牌を描き、手牌や積み重ねた盤を配置し、シード付きの「合わせ」をひとりでも対戦卓でも遊べます。

「ジャラジャラ」は麻雀牌が触れ合う音を表す言葉です。 名前について(英語)

目次

リファレンス · 合わせのひとり遊び

AWASE_CHECK_REASONS定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

Why checkAwase will not take a solve, as a stable code and the English sentence it says. None of them has a gap to fill, so a site says each code in its own words and needs nothing more.

CodeSaid when
givens-not-dealthe tiles are not a deal of that layout
answer-not-movesthe answer cannot be read as a list of moves
move-not-alloweda move breaks the rules (a pair that does not match or is not free, or a shuffle made while a pair was left)
tiles-leftevery move was allowed and the layout is not clear

インポート

import { AWASE_CHECK_REASONS } from "@johnmorrisdotca/jarajara/awase";

定義

const AWASE_CHECK_REASONS: { readonly "givens-not-deal": "the givens are not a deal of that layout"; readonly "answer-not-moves": "the answer is not a list of moves"; readonly "move-not-allowed": "a move the rules do not allow"; readonly "tiles-left": "tiles are left on the layout"; } = {
    "givens-not-deal": "the givens are not a deal of that layout",
    "answer-not-moves": "the answer is not a list of moves",
    "move-not-allowed": "a move the rules do not allow",
    "tiles-left": "tiles are left on the layout",
} as const

メンバー

名前型説明
givens-not-deal"the givens are not a deal of that layout"
answer-not-moves"the answer is not a list of moves"
move-not-allowed"a move the rules do not allow"
tiles-left"tiles are left on the layout"

例

import { AWASE_CHECK_REASONS } from "@johnmorrisdotca/jarajara/awase";

console.log(AWASE_CHECK_REASONS["tiles-left"]);
tiles are left on the layout

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/jarajara 1.8.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。