aboutsummaryrefslogtreecommitdiff
path: root/src/moves.h
blob: 082a08033ab7b238b0340b8c36fdaee37afd8186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MOVES_H
#define MOVES_H

#include "alg.h"
#include "cube.h"
#include "env.h"

Cube        apply_alg(Alg *alg, Cube cube);
Cube        apply_alg_generic(Alg *alg, Cube c, PieceFilter f, bool a);
Cube        apply_move(Move m, Cube cube);
bool        commute(Move m1, Move m2);
bool        possible_next(Move m1, Move m2, Move m3);

void        init_moves();

#endif

Generated with cgit - Back to sebastiano.tronto.net