aboutsummaryrefslogtreecommitdiff
path: root/old/2020-unknown-date/cubeutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'old/2020-unknown-date/cubeutils.h')
-rw-r--r--old/2020-unknown-date/cubeutils.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/old/2020-unknown-date/cubeutils.h b/old/2020-unknown-date/cubeutils.h
new file mode 100644
index 0000000..b24291c
--- /dev/null
+++ b/old/2020-unknown-date/cubeutils.h
@@ -0,0 +1,18 @@
1/* Cube-specific utility functions */
2
3#ifndef CUBEUTILS_H
4#define CUBEUTILS_H
5
6#include <stdbool.h>
7#include "pieces.h"
8
9void cube_to_ep_array(Cube *cube, int ep[12]);
10void ep_array_to_epos(int ep[12], Cube *cube);
11
12Cube *solved_cube();
13bool solvable(Cube *cube);
14bool solved(Cube *cube);
15
16void print(Cube *cube);
17
18#endif

Generated with cgit - Back to sebastiano.tronto.net