Skip to the content

Jarajaraジャラジャラ

Draw mahjong tiles, arrange racks and stacked boards, and play seeded Awase alone or at a shared table.

Jarajara is the Japanese sound of mahjong tiles rattling together. About the name

Contents

Reference · Awase solitaire

AWASE_CHECK_REASONSconstant

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 it

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

Definition

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

Members

NameTypeDescription
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"

Examples

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

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

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jarajara 1.8.0.