SOLVE_ALGORITHMS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The algorithms the method uses, by name. The notation is for white on the bottom.
インポート
import { SOLVE_ALGORITHMS } from "@johnmorrisdotca/kyuubu";
定義
const SOLVE_ALGORITHMS: { readonly cornerIn: "R U R' U'"; readonly edgeRight: "U R U' R' U' F' U F"; readonly edgeLeft: "U' L' U L U F U' F'"; readonly yellowCross: "F R U R' U' F'"; readonly sune: "R U R' U R U2 R'"; readonly cornerCycle: "R' F R' B2 R F' R' B2 R2"; readonly edgeCycle: "R U' R U R U R U' R' U' R2"; } = {
cornerIn: "R U R' U'",
edgeRight: "U R U' R' U' F' U F",
edgeLeft: "U' L' U L U F U' F'",
yellowCross: "F R U R' U' F'",
sune: "R U R' U R U2 R'",
cornerCycle: "R' F R' B2 R F' R' B2 R2",
edgeCycle: "R U' R U R U R U' R' U' R2",
} as const
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
cornerIn | "R U R' U'" | |
edgeRight | "U R U' R' U' F' U F" | |
edgeLeft | "U' L' U L U F U' F'" | |
yellowCross | "F R U R' U' F'" | |
sune | "R U R' U R U2 R'" | |
cornerCycle | "R' F R' B2 R F' R' B2 R2" | |
edgeCycle | "R U' R U R U R U' R' U' R2" |
例
import { SOLVE_ALGORITHMS } from "@johnmorrisdotca/kyuubu";
console.log(Object.keys(SOLVE_ALGORITHMS).slice(0, 8));[
'cornerIn',
'edgeRight',
'edgeLeft',
'yellowCross',
'sune',
'cornerCycle',
'edgeCycle'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。