KUMIMOJI_SCORE定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
WHAT A FINISHED GAME SCORES on its leaderboard, as the other puzzles score
theirs (puzzlePoints.ts): ten for every tile laid, and as much again for
speed, which falls away evenly until a game that took half a minute a tile
earns no speed at all. A Classic game of fifty tiles in ten minutes is
500 + 300 = 800. The time is the browser's clock, as every solo time here is.
インポート
import { KUMIMOJI_SCORE } from "@johnmorrisdotca/kumimoji";
定義
const KUMIMOJI_SCORE: { readonly tile: 10; readonly slowestMsATile: 30000; } = { tile: 10, slowestMsATile: 30000 } as const
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
tile | 10 | |
slowestMsATile | 30000 |
例
import { KUMIMOJI_SCORE } from "@johnmorrisdotca/kumimoji";
console.log(KUMIMOJI_SCORE);{ tile: 10, slowestMsATile: 30000 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。