| Move | Right | Up | Front | Left | Down | Back |
|---|---|---|---|---|---|---|
| ○● +90° | R |
U |
F |
L |
D |
B |
| ○● +180° | R2 |
U2 |
F2 |
L2 |
D2 |
B2 |
| ●● +90° | x |
y |
z |
|
|
|
| ●● +180° | x2 |
y2 |
z2 |
|
|
|
| Grouping | ||||||
| Grouping | Begin: | ( |
End: | ) |
||
| Repetition | ||||||
| Repetition | Begin: | * |
End: | |
||
| Syntax | suffix | |||||
| Inversion | ||||||
| Invertor | ' |
|||||
| Syntax | suffix | |||||
| Delimiter | ||||||
| NOP | . |
|||||
| Comment | ||||||
| Multi-Line | Begin: | [ |
End: | ] |
||
Harris ENG 2x2 is a notation for Rubik's Pocket Cube. The notation is based on the English language. It supports 90° and 180° twists of the faces of the cube. The whole cube can be rotated along its face axes. The notation supports the following high-level constructs: grouping, repetition, inversion. Comments can be embedded into scripts.
Notation used to describe moves
----------------------------------
Clockwise 90° twists of the six faces are denoted by the capital letters: «R», «U», «F», «L», «D» and «B», (right, up, front, left, down, back).
Clockwise 90° rotations of the whole cube over the three face centered axes of the cube are denoted by «x», «y», and «z», (x-axis, y-Axis, and z-axis) .
180° twists and rotations are denoted by appending the number «2» to a move: «U2», «x2», ... .
Counterclockwise twists and rotations are denoted by applying the inversion operator «'» to a move: «U'», «x'», ... .
High-level constructs
----------------------------------
Logically distinct sequences of moves can be separated using a no operation marker «.» (dot). For example, if a long sequence of moves has been constructed of multiple short sequences (maneuvers).
Sequences of moves can be grouped using round brackets: «(R U F)».
Sequences of moves can be repeated multiple times by appending the number of repetitions to the closing bracket: «(R U F)3».
Sequences of moves can be inverted by appending the inversion operator «'» to the closing bracket: «(R U F)'».
High-level constructs can be nested: «(R U F)3'» or «(R U F)'*».
Comments
---------
Multi-line comments are enclosed in square brackets: «[this is a comment]».
References
----------------------------
This notation is based on the notation for Rubik's Cube by Dan Harris, as published at http://www.cosine-systems.com/cubestation/cubenotation.html
Dan Harris 2003