aboutsummaryrefslogtreecommitdiff
path: root/src/io.h
blob: f1b585d1af0513255af45d2015006b33ba43b572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdint.h>

char *edge_string(int edge);
char *corner_string(int edge);
char *move_string(int move);

void print_cube_scram(int *scram);

void copy_moves(int *src, int *dst);
void append_moves(int *src, int *dst);

int read_moves(char *str, int *a);
int read_moves_from_prompt(int *a);
int read_moves_from_tok(int n, char tok[][100], int *a);

int uses_niss(int *str);
int unniss(int *src, int *dst);
int invert(int *src, int *dst);
int len(int *scram);

void print_moves(int move_list[]);

Generated with cgit - Back to sebastiano.tronto.net