aboutsummaryrefslogtreecommitdiff
path: root/old/2020-unknown-date/cubeutils.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-11 21:37:34 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-11 21:37:34 +0100
commit3568412f8f230774d0d11d7ed1c897424f95d3ef (patch)
tree77223792d8c925a9b1fc32b3f4341e943b5f8209 /old/2020-unknown-date/cubeutils.h
parent67e1b5e6e6a2c917a2fe58a37a1382c982b1e5c5 (diff)
downloadnissy-3568412f8f230774d0d11d7ed1c897424f95d3ef.tar.gz
nissy-3568412f8f230774d0d11d7ed1c897424f95d3ef.zip
Rewritten from scratch. Welocme nissy 2.0!
Diffstat (limited to '')
-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