GRADING_WEIGHTS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The bounded Gem Swap metric weights used in the recorded grading formula.
インポート
import { GRADING_WEIGHTS } from "@johnmorrisdotca/houseki/gem-swap";
定義
const GRADING_WEIGHTS: { seededPlayoutDifficulty: number; choiceDifficulty: number; objectiveCoordination: number; chainDepth: number; witnessLength: number; specialCombination: number; } = freezeContent({ "seededPlayoutDifficulty": 30, "choiceDifficulty": 18, "objectiveCoordination": 12, "chainDepth": 10, "witnessLength": 25, "specialCombination": 5 })
例
import { GRADING_WEIGHTS } from "@johnmorrisdotca/houseki/gem-swap";
console.log(Object.keys(GRADING_WEIGHTS));[
'seededPlayoutDifficulty',
'choiceDifficulty',
'objectiveCoordination',
'chainDepth',
'witnessLength',
'specialCombination'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。