aboutsummaryrefslogtreecommitdiff
path: root/old/2021-06-02-cleanedup/steps.h
diff options
context:
space:
mode:
Diffstat (limited to 'old/2021-06-02-cleanedup/steps.h')
-rw-r--r--old/2021-06-02-cleanedup/steps.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/old/2021-06-02-cleanedup/steps.h b/old/2021-06-02-cleanedup/steps.h
deleted file mode 100644
index 452b71c..0000000
--- a/old/2021-06-02-cleanedup/steps.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/* Pre-conditions, i.e. "ready(cube)" functions ******************************/
2
3bool always_ready(Cube cube) { return true; }
4
5/* Main functions, i.e. "f(cube)" ********************************************/
6
7int f_eofb(Cube cube) { return (cube.eofb != 0) ? 1 : 0; }
8
9/* Steps *********************************************************************/
10
11Step step_eofb = { .f = f_eofb, .ready = always_ready };
12
13/* Movesets ******************************************************************/
14
15bool standard_moveset[NMOVES] = {
16 [U] = true, [U2] = true, [U3] = true,
17 [D] = true, [D2] = true, [D3] = true,
18 [R] = true, [R2] = true, [R3] = true,
19 [L] = true, [L2] = true, [L3] = true,
20 [F] = true, [F2] = true, [F3] = true,
21 [B] = true, [B2] = true, [B3] = true,
22};

Generated with cgit - Back to sebastiano.tronto.net