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
| Name | Type | Description |
|---|---|---|
date | string | 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)