aboutsummaryrefslogtreecommitdiff
path: root/old/2020-unknown-date/cubeutils.h
blob: b24291cd922492421f268bca8040e15692bb5efe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Cube-specific utility functions */

#ifndef CUBEUTILS_H
#define CUBEUTILS_H

#include <stdbool.h>
#include "pieces.h"

void cube_to_ep_array(Cube *cube, int ep[12]);
void ep_array_to_epos(int ep[12], Cube *cube);

Cube *solved_cube();
bool solvable(Cube *cube);
bool solved(Cube *cube);

void print(Cube *cube);

#endif

Generated with cgit - Back to sebastiano.tronto.net