Rubik's Cube Notation
In order to keep track of moves we'll use a handy notation introduced by David Singmaster in the early 1980's. Holding the cube with one of the square faces in front, and another square face on the top we call the six sides: Left, Front, Right, Back, Up, Down.
We use the first letter of each name to denote a 90 degree clockwise rotation of that face:
A counterclockwise rotation is denoted by the letter with a "-1" superscript:
It is useful to move the middle slice between the left and right faces, so it is given a name too.