/
index.ts
69 lines (67 loc) 路 2.56 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
export { eventInfo, twizzleEvents, wcaEventInfo, wcaEvents } from "./events";
export { cube2x2x2, cube3x3x3 };
export type { PuzzleLoader };
import type { PuzzleLoader } from "./PuzzleLoader";
import { CubePGPuzzleLoader, PGPuzzleLoader } from "./async/async-pg3d";
import { cube2x2x2 } from "./implementations/2x2x2";
import { cube3x3x3 } from "./implementations/3x3x3";
import { cube4x4x4 } from "./implementations/4x4x4";
import { clock } from "./implementations/clock";
import { fto } from "./implementations/fto";
import { kilominx } from "./implementations/kilominx";
import { loopover } from "./implementations/loopover";
import { megaminx } from "./implementations/megaminx";
import { melindas2x2x2x2 } from "./implementations/melindas2x2x2x2";
import { pyraminx } from "./implementations/pyraminx";
import { rediCube } from "./implementations/redi-cube";
import { square1 } from "./implementations/square1";
import { tri_quad } from "./implementations/tri_quad";
/** @category All Puzzles */
export const puzzles: Record<string, PuzzleLoader> = {
/******** Start of WCA Puzzles *******/
"3x3x3": cube3x3x3,
"2x2x2": cube2x2x2,
"4x4x4": cube4x4x4,
"5x5x5": new CubePGPuzzleLoader({ id: "5x5x5", fullName: "5脳5脳5 Cube" }),
"6x6x6": new CubePGPuzzleLoader({ id: "6x6x6", fullName: "6脳6脳6 Cube" }),
"7x7x7": new CubePGPuzzleLoader({ id: "7x7x7", fullName: "7脳7脳7 Cube" }),
"40x40x40": new CubePGPuzzleLoader({
id: "40x40x40",
fullName: "40脳40脳40 Cube",
}),
// 3x3x3 Blindfolded
// 3x3x3 Fewest Moves
// 3x3x3 One-Handed
clock,
megaminx: megaminx,
pyraminx,
skewb: new PGPuzzleLoader({
id: "skewb",
fullName: "Skewb",
inventedBy: ["Tony Durham"], // https://www.jaapsch.net/puzzles/skewb.htm
// inventionYear: 1982, // 1982 is actually the year of Hofstadter's column.
}),
square1,
// 4x4x4 Blindfolded
// 5x5x5 Blindfolded
/******** End of WCA puzzles ********/
fto: fto,
gigaminx: new PGPuzzleLoader({
id: "gigaminx",
fullName: "Gigaminx",
inventedBy: ["Tyler Fox"],
inventionYear: 2006, // Earliest date from https://www.twistypuzzles.com/cgi-bin/puzzle.cgi?pkey=1475
}),
master_tetraminx: new PGPuzzleLoader({
pgID: "master tetraminx",
id: "master_tetraminx",
fullName: "Master Tetraminx",
inventedBy: ["Katsuhiko Okamoto"], // Using master pyraminx: https://twistypuzzles.com/cgi-bin/puzzle.cgi?pkey=1352
inventionYear: 2002, // Using master pyraminx: https://twistypuzzles.com/cgi-bin/puzzle.cgi?pkey=1352
}),
kilominx,
redi_cube: rediCube,
melindas2x2x2x2,
loopover,
tri_quad,
};