diff options
Diffstat (limited to 'experiments/cube.h')
| -rw-r--r-- | experiments/cube.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/experiments/cube.h b/experiments/cube.h deleted file mode 100644 index b916f96..0000000 --- a/experiments/cube.h +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | typedef enum { | ||
| 2 | U, U2, U3, D, D2, D3, | ||
| 3 | R, R2, R3, L, L2, L3, | ||
| 4 | F, F2, F3, B, B2, B3 | ||
| 5 | } move_t; | ||
| 6 | typedef struct { | ||
| 7 | uint64_t e; | ||
| 8 | uint64_t c; | ||
| 9 | } cube_t; | ||
| 10 | |||
| 11 | extern cube_t solvedcube; | ||
| 12 | extern cube_t errorcube; | ||
| 13 | |||
| 14 | bool isconsistent(cube_t); | ||
| 15 | bool issolved(cube_t); | ||
| 16 | |||
| 17 | cube_t readcube(char *); | ||
| 18 | void writecube(cube_t, char *); | ||
| 19 | |||
| 20 | int readmoves(char *, move_t *); | ||
| 21 | void writemoves(move_t *, int, char *); | ||
| 22 | |||
| 23 | cube_t move(cube_t, move_t); | ||
| 24 | |||
| 25 | /* | ||
| 26 | cube_t inverse(cube_t); | ||
| 27 | */ | ||
