aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/FORMAT.txt24
-rw-r--r--utils/move_B.txt1
-rw-r--r--utils/move_B2.txt1
-rw-r--r--utils/move_B3.txt1
-rw-r--r--utils/move_D.txt1
-rw-r--r--utils/move_D2.txt1
-rw-r--r--utils/move_D3.txt1
-rw-r--r--utils/move_F.txt1
-rw-r--r--utils/move_F2.txt1
-rw-r--r--utils/move_F3.txt1
-rw-r--r--utils/move_L.txt1
-rw-r--r--utils/move_L2.txt1
-rw-r--r--utils/move_L3.txt1
-rw-r--r--utils/move_R.txt1
-rw-r--r--utils/move_R2.txt1
-rw-r--r--utils/move_R3.txt1
-rw-r--r--utils/move_U.txt1
-rw-r--r--utils/move_U2.txt1
-rw-r--r--utils/move_U3.txt1
-rw-r--r--utils/solved.txt2
20 files changed, 44 insertions, 0 deletions
diff --git a/utils/FORMAT.txt b/utils/FORMAT.txt
new file mode 100644
index 0000000..74e7442
--- /dev/null
+++ b/utils/FORMAT.txt
@@ -0,0 +1,24 @@
1The functions readcube() and writecube() use the following format.
2
3Each edge is represented by two letters denoting the sides it belongs to
4and one number denoting its orientation (0 oriented, 1 mis-oriented).
5Similarly, each corner is represented by three letters and a number
6(0 oriented, 1 twisted clockwise, 2 twisted counter-clockwise).
7Edge orientation is relative to the F / B axis, corner orientation is
8relative to the U / D axis.
9
10The pieces are ordered such that the solved cube looks like this:
11
12UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0
13UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0
14
15Whitespace (including newlines) between pieces is ignored when reading
16the cube, and a single whitespace character is added between pieces
17when writing.
18
19The cube after the moves R'U'F looks like this:
20
21FL1 BR0 DB0 UR1 UF0 UB0 DL0 FR0 UL1 DF1 BL0 DR0
22UBL1 DBR1 UFR2 DFR2 DFL2 UBL2 UFL2 DBL0
23
24More formats might be supported in the future.
diff --git a/utils/move_B.txt b/utils/move_B.txt
new file mode 100644
index 0000000..f7fb13c
--- /dev/null
+++ b/utils/move_B.txt
@@ -0,0 +1 @@
UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2
diff --git a/utils/move_B2.txt b/utils/move_B2.txt
new file mode 100644
index 0000000..9b33e35
--- /dev/null
+++ b/utils/move_B2.txt
@@ -0,0 +1 @@
UF0 DB0 UB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BR0 BL0 UFR0 DBR0 DFL0 UBL0 UFL0 DBL0 DFR0 UBR0
diff --git a/utils/move_B3.txt b/utils/move_B3.txt
new file mode 100644
index 0000000..1367517
--- /dev/null
+++ b/utils/move_B3.txt
@@ -0,0 +1 @@
UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2
diff --git a/utils/move_D.txt b/utils/move_D.txt
new file mode 100644
index 0000000..cf4f816
--- /dev/null
+++ b/utils/move_D.txt
@@ -0,0 +1 @@
UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0
diff --git a/utils/move_D2.txt b/utils/move_D2.txt
new file mode 100644
index 0000000..13b229e
--- /dev/null
+++ b/utils/move_D2.txt
@@ -0,0 +1 @@
UF0 UB0 DF0 DB0 UR0 UL0 DR0 DL0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBR0 DFL0 UFL0 UBR0 DBL0 DFR0
diff --git a/utils/move_D3.txt b/utils/move_D3.txt
new file mode 100644
index 0000000..2864f5b
--- /dev/null
+++ b/utils/move_D3.txt
@@ -0,0 +1 @@
UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0
diff --git a/utils/move_F.txt b/utils/move_F.txt
new file mode 100644
index 0000000..e805af8
--- /dev/null
+++ b/utils/move_F.txt
@@ -0,0 +1 @@
FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0
diff --git a/utils/move_F2.txt b/utils/move_F2.txt
new file mode 100644
index 0000000..8aa701f
--- /dev/null
+++ b/utils/move_F2.txt
@@ -0,0 +1 @@
DF0 UB0 DB0 UF0 UR0 UL0 DL0 DR0 FL0 FR0 BL0 BR0 DFL0 UBL0 UFR0 DBR0 DFR0 UBR0 UFL0 DBL0
diff --git a/utils/move_F3.txt b/utils/move_F3.txt
new file mode 100644
index 0000000..40f1260
--- /dev/null
+++ b/utils/move_F3.txt
@@ -0,0 +1 @@
FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0
diff --git a/utils/move_L.txt b/utils/move_L.txt
new file mode 100644
index 0000000..0b0565c
--- /dev/null
+++ b/utils/move_L.txt
@@ -0,0 +1 @@
UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1
diff --git a/utils/move_L2.txt b/utils/move_L2.txt
new file mode 100644
index 0000000..2498c87
--- /dev/null
+++ b/utils/move_L2.txt
@@ -0,0 +1 @@
UF0 UB0 DB0 DF0 UR0 DL0 UL0 DR0 FR0 BL0 FL0 BR0 UFR0 DFL0 UBL0 DBR0 DBL0 UBR0 DFR0 UFL0
diff --git a/utils/move_L3.txt b/utils/move_L3.txt
new file mode 100644
index 0000000..2ac2912
--- /dev/null
+++ b/utils/move_L3.txt
@@ -0,0 +1 @@
UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1
diff --git a/utils/move_R.txt b/utils/move_R.txt
new file mode 100644
index 0000000..8c8fcb3
--- /dev/null
+++ b/utils/move_R.txt
@@ -0,0 +1 @@
UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0
diff --git a/utils/move_R2.txt b/utils/move_R2.txt
new file mode 100644
index 0000000..90765e2
--- /dev/null
+++ b/utils/move_R2.txt
@@ -0,0 +1 @@
UF0 UB0 DB0 DF0 DR0 UL0 DL0 UR0 BR0 FL0 BL0 FR0 DBR0 UBL0 DFL0 UFR0 UFL0 DFR0 UBR0 DBL0
diff --git a/utils/move_R3.txt b/utils/move_R3.txt
new file mode 100644
index 0000000..d4abffc
--- /dev/null
+++ b/utils/move_R3.txt
@@ -0,0 +1 @@
UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0
diff --git a/utils/move_U.txt b/utils/move_U.txt
new file mode 100644
index 0000000..b5b36ad
--- /dev/null
+++ b/utils/move_U.txt
@@ -0,0 +1 @@
UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0
diff --git a/utils/move_U2.txt b/utils/move_U2.txt
new file mode 100644
index 0000000..316ad57
--- /dev/null
+++ b/utils/move_U2.txt
@@ -0,0 +1 @@
UB0 UF0 DB0 DF0 UL0 UR0 DL0 DR0 FR0 FL0 BL0 BR0 UBL0 UFR0 DFL0 DBR0 UBR0 UFL0 DFR0 DBL0
diff --git a/utils/move_U3.txt b/utils/move_U3.txt
new file mode 100644
index 0000000..7721ab5
--- /dev/null
+++ b/utils/move_U3.txt
@@ -0,0 +1 @@
UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0
diff --git a/utils/solved.txt b/utils/solved.txt
new file mode 100644
index 0000000..07cf178
--- /dev/null
+++ b/utils/solved.txt
@@ -0,0 +1,2 @@
1
2UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0

Generated with cgit - Back to sebastiano.tronto.net