本文へ移動

Jarajaraジャラジャラ

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

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

目次

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

AWASE_CHALLENGE_NUMBERS定数

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

The numbers every challenge is made from.

インポート

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

定義

const AWASE_CHALLENGE_NUMBERS: { readonly sparkMsPerTile: 2500; readonly sparkBonusMs: 20000; readonly rushMs: 180000; readonly rushPairs: 30; readonly fortuneMsPerTile: 1700; readonly fortunePointsPerPair: 150; readonly sandStartMs: 45000; readonly sandPairMs: 5000; readonly sandComboMs: 1000; readonly sandReserveMs: 60000; readonly purgeMsPerTile: 2200; readonly purgeMsPerTarget: 4000; readonly pairPoints: 100; readonly layerPoints: 15; readonly comboWindowMs: 5000; readonly combo: readonly [1, 1.25, 1.5, 2, 3]; readonly sparkPoints: 250; readonly goldPointsPerTile: 20; } = {
    sparkMsPerTile: 2500,
    sparkBonusMs: 20000,
    rushMs: 180000,
    rushPairs: 30,
    fortuneMsPerTile: 1700,
    fortunePointsPerPair: 150,
    sandStartMs: 45000,
    sandPairMs: 5000,
    sandComboMs: 1000,
    sandReserveMs: 60000,
    purgeMsPerTile: 2200,
    purgeMsPerTarget: 4000,
    pairPoints: 100,
    layerPoints: 15,
    comboWindowMs: 5000,
    combo: [1, 1.25, 1.5, 2, 3],
    sparkPoints: 250,
    goldPointsPerTile: 20,
} as const

メンバー

名前型説明
sparkMsPerTile2500
sparkBonusMs20000
rushMs180000
rushPairs30
fortuneMsPerTile1700
fortunePointsPerPair150
sandStartMs45000
sandPairMs5000
sandComboMs1000
sandReserveMs60000
purgeMsPerTile2200
purgeMsPerTarget4000
pairPoints100
layerPoints15
comboWindowMs5000
comboreadonly [1, 1.25, 1.5, 2, 3]
sparkPoints250
goldPointsPerTile20

例

import { AWASE_CHALLENGE_NUMBERS } from "@johnmorrisdotca/jarajara/awase";
console.log(AWASE_CHALLENGE_NUMBERS);
{
  sparkMsPerTile: 2500,
  sparkBonusMs: 20000,
  rushMs: 180000,
  rushPairs: 30,
  fortuneMsPerTile: 1700,
  fortunePointsPerPair: 150,
  sandStartMs: 45000,
  sandPairMs: 5000,
  sandComboMs: 1000,
  sandReserveMs: 60000,
  purgeMsPerTile: 2200,
  purgeMsPerTarget: 4000,
  pairPoints: 100,
  layerPoints: 15,
  comboWindowMs: 5000,
  combo: [ 1, 1.25, 1.5, 2, 3 ],
  sparkPoints: 250,
  goldPointsPerTile: 20
}

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

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

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