diff options
Diffstat (limited to '')
| -rw-r--r-- | old/2021-05-26-before-restyle/main.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/old/2021-05-26-before-restyle/main.c b/old/2021-05-26-before-restyle/main.c deleted file mode 100644 index cb61526..0000000 --- a/old/2021-05-26-before-restyle/main.c +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | #include <stdio.h> | ||
| 2 | #include "cube.h" | ||
| 3 | #include "moves.h" | ||
| 4 | #include "solve.h" | ||
| 5 | #include "transformations.h" | ||
| 6 | |||
| 7 | int main() { | ||
| 8 | init_ttables(true, true); | ||
| 9 | init_aux_tables(); | ||
| 10 | init_transformations(true, true); | ||
| 11 | |||
| 12 | |||
| 13 | char moves[100] = "R' D2 F2 U2 R F2 R D2 L' R2 D2 F D' L' U' B R' D' U R' B"; | ||
| 14 | NissMove alg[100]; | ||
| 15 | read_moves(moves, alg, 100); | ||
| 16 | Cube cube = apply_alg(alg, (Cube){0}); | ||
| 17 | print_cube(transform_cube(rd, cube)); | ||
| 18 | |||
| 19 | transform_alg(rd, alg); | ||
| 20 | print_alg(alg); | ||
| 21 | |||
| 22 | |||
| 23 | return 0; | ||
| 24 | } | ||
