aboutsummaryrefslogtreecommitdiff
path: root/src/cube.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cube.h')
-rw-r--r--src/cube.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/cube.h b/src/cube.h
index 694560a..3cbc3b5 100644
--- a/src/cube.h
+++ b/src/cube.h
@@ -25,23 +25,6 @@ you operate on the cube only via the functions provided below, you don't
25need to worry about this. 25need to worry about this.
26******************************************************************************/ 26******************************************************************************/
27 27
28typedef struct {
29 uint8_t corner[8];
30 uint8_t edge[12];
31} cube_t;
32
33/* Returns a copy of the solved cube */
34cube_t solvedcube(void);
35
36/* Basic checks on the cube */
37bool isconsistent(cube_t);
38bool issolvable(cube_t);
39bool issolved(cube_t);
40bool equal(cube_t, cube_t);
41
42/* All functions can return an error value, use iserror() to check this */
43bool iserror(cube_t);
44
45/* Apply the second cube on the first as a move sequence */ 28/* Apply the second cube on the first as a move sequence */
46cube_t compose(cube_t, cube_t); 29cube_t compose(cube_t, cube_t);
47 30

Generated with cgit - Back to sebastiano.tronto.net