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

dailyAwasefunction

THE DAY'S GAME, the same for everybody on the same date: a layout, a level, a seed and a challenge worked out from the date alone (2026-10-01, or a Date, in UTC), so no server need hold it. The seed is never in the block that makes a deal play under the Identical rule, and the layout is never the Tiny one, which is for tests.

Import it

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

Definition

function dailyAwase(date: string | Date): { date: string; size: number; level: AwaseLevel; seed: number; challenge: AwaseChallenge; }

Parameters

NameTypeDescription
datestring | Date

A UTC date or native date string for the daily setup.

Returns

{ date: string; size: number; level: AwaseLevel; seed: number; challenge: AwaseChallenge; }

THE DAY'S GAME, the same for everybody on the same date: a layout, a level, a seed and a challenge worked out from the date alone (2026-10-01, or a Date, in UTC), so no server need hold it. The seed is never in the block that makes a deal play under the Identical rule, and the layout is never the Tiny one, which is for tests.

Examples

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

console.log(dailyAwase("2026-10-12"));
{
  date: '2026-10-12',
  size: 13,
  level: 'hard',
  seed: 591394278,
  challenge: 'spark'
}

What it prints (run when this page was built)

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