KARAKURI_GAME_IDS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The ids of the games, in the order the package lists them (kebab case, the same in every address and attribute).
インポート
import { KARAKURI_GAME_IDS } from "@johnmorrisdotca/karakuri/play";
定義
const KARAKURI_GAME_IDS: readonly ["save-the-character", "pin-rescue", "nuts-and-bolts", "stretch-grabber", "grid-escape", "rope-cut", "tube-sort", "choice-story"] = [
"save-the-character",
"pin-rescue",
"nuts-and-bolts",
"stretch-grabber",
"grid-escape",
"rope-cut",
"tube-sort",
"choice-story",
] as const
例
import { KARAKURI_GAME_IDS } from "@johnmorrisdotca/karakuri/play";
console.log(KARAKURI_GAME_IDS);[
'save-the-character',
'pin-rescue',
'nuts-and-bolts',
'stretch-grabber',
'grid-escape',
'rope-cut',
'tube-sort',
'choice-story'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。